mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 09:37:55 +00:00
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
@ -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 New Issue
Block a user