mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03: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:
|
# Test of the examples for package 'tcltk' fails in Darwin sandbox. See:
|
||||||
# https://github.com/NixOS/nixpkgs/issues/146131
|
# https://github.com/NixOS/nixpkgs/issues/146131
|
||||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace configure \
|
substituteInPlace configure \
|
||||||
--replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \
|
--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" \
|
--replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \
|
||||||
|
Loading…
Reference in New Issue
Block a user