10 name = R.name + "-wrapper";
11 preferLocalBuild = true;
12 allowSubstitutes = false;
14 buildInputs = [ R ] ++ recommendedPackages ++ packages;
17 nativeBuildInputs = [ makeWrapper ];
24 makeWrapper "${R}/bin/$exe" "$out/bin/$exe" \
25 --prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE"
29 # Make the list of recommended R packages accessible to other packages such as rpy2
30 passthru = { inherit recommendedPackages; };
33 # To prevent builds on hydra
35 # prefer wrapper over the package
36 priority = (R.meta.priority or lib.meta.defaultPriority) - 1;