12 runCommand (radian.name + "-wrapper")
14 preferLocalBuild = true;
15 allowSubstitutes = false;
22 ++ recommendedPackages
25 nativeBuildInputs = [ makeWrapper ];
27 passthru = { inherit recommendedPackages; };
29 meta = radian.meta // {
30 # To prevent builds on hydra
32 # prefer wrapper over the package
33 priority = (radian.meta.priority or lib.meta.defaultPriority) - 1;
38 makeWrapper "${radian}/bin/radian" "$out/bin/radian" \
39 --prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE"
41 + lib.optionalString wrapR ''
44 makeWrapper "${R}/bin/$exe" "$out/bin/$exe" \
45 --prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE"