Loading pkgs/applications/science/math/R/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,10 @@ stdenv.mkDerivation (finalAttrs: { # The store path to "which" is baked into src/library/base/R/unix/system.unix.R, # but Nix cannot detect it as a run-time dependency because the installed file # is compiled and compressed, which hides the store path. postFixup = "echo ${which} > $out/nix-support/undetected-runtime-dependencies"; postFixup = '' echo ${which} > $out/nix-support/undetected-runtime-dependencies ${lib.optionalString stdenv.hostPlatform.isLinux ''find $out -name "*.so" -exec patchelf {} --add-rpath $out/lib/R/lib \;''} ''; doCheck = true; preCheck = "export HOME=$TMPDIR; export TZ=CET; bin/Rscript -e 'sessionInfo()'"; Loading Loading
pkgs/applications/science/math/R/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,10 @@ stdenv.mkDerivation (finalAttrs: { # The store path to "which" is baked into src/library/base/R/unix/system.unix.R, # but Nix cannot detect it as a run-time dependency because the installed file # is compiled and compressed, which hides the store path. postFixup = "echo ${which} > $out/nix-support/undetected-runtime-dependencies"; postFixup = '' echo ${which} > $out/nix-support/undetected-runtime-dependencies ${lib.optionalString stdenv.hostPlatform.isLinux ''find $out -name "*.so" -exec patchelf {} --add-rpath $out/lib/R/lib \;''} ''; doCheck = true; preCheck = "export HOME=$TMPDIR; export TZ=CET; bin/Rscript -e 'sessionInfo()'"; Loading