summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-20 21:10:28 +0100
committerGitHub <noreply@github.com>2021-11-20 21:10:28 +0100
commit00a52ef677eb7098c42c6deb81d11bf9e5740e20 (patch)
tree0a44d99717d3517e6f01c8e500f094cd4d87c87e
parent8dfdd0e4681d1ff79d5798aba19b7e40fe8a6668 (diff)
downloadnixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.tar
nixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.tar.gz
nixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.tar.bz2
nixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.tar.lz
nixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.tar.xz
nixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.tar.zst
nixpkgs-00a52ef677eb7098c42c6deb81d11bf9e5740e20.zip
R: manually fix things after patches got applied
This prevents conflicts in case a patch changes the same line
-rw-r--r--pkgs/applications/science/math/R/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix
index 815d108ce41..d08078c356e 100644
--- a/pkgs/applications/science/math/R/default.nix
+++ b/pkgs/applications/science/math/R/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
 
   # Test of the examples for package 'tcltk' fails in Darwin sandbox. See:
   # https://github.com/NixOS/nixpkgs/issues/146131
-  prePatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.isDarwin ''
     substituteInPlace configure \
       --replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \
       --replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \