diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-04-07 15:14:52 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-04-07 15:14:52 +0200 |
commit | 7f7da0a16f05f7e86559b41d98f2a67eaec30587 (patch) | |
tree | 8df4efebb83e7c2614aa10def3d87369f6ddb337 /pkgs/applications/science | |
parent | 4a125f6b202516b1ae8dee79202ad9fff1c7693a (diff) | |
parent | b2011766ed8c20647d5c40d8c6bad74c9373aa0a (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/math/R/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index 562874ccc136b..ab411999a216c 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -69,6 +69,11 @@ stdenv.mkDerivation rec { installTargets = [ "install" "install-info" "install-pdf" ]; + # 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. + postInstall = "echo ${which} > $out/nix-support/undetected-runtime-dependencies"; + doCheck = true; preCheck = "export TZ=CET; bin/Rscript -e 'sessionInfo()'"; |