mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
R: explicitly declare which
as a run-time dependency
Fixes https://github.com/NixOS/nixpkgs/issues/58963. Closes https://github.com/NixOS/nixpkgs/pull/58989.
This commit is contained in:
parent
ca494bf6c3
commit
cbade453ac
@ -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()'";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user