R: manually fix things after patches got applied
This prevents conflicts in case a patch changes the same line
This commit is contained in:
parent
8dfdd0e468
commit
00a52ef677
1 changed files with 1 additions and 1 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue