From f7ddff5c6d1504138d1200cccbc74e26e753d54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 7 Apr 2019 17:37:55 +0200 Subject: [PATCH] R: fix regression from commit cbade453 #58989 Normally the directory is created in fixup phase. --- pkgs/applications/science/math/R/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index ab411999a216..7c32641e9c30 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation rec { # 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"; + postFixup = "echo ${which} > $out/nix-support/undetected-runtime-dependencies"; doCheck = true; preCheck = "export TZ=CET; bin/Rscript -e 'sessionInfo()'";