mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
parent
4f6f30ffbb
commit
7a5f0ec2d1
@ -33,11 +33,15 @@ stdenv.mkDerivation rec {
|
||||
./no-usr-local-search-paths.patch
|
||||
];
|
||||
|
||||
# Test of the examples for package 'tcltk' fails in Darwin sandbox. See:
|
||||
# https://github.com/NixOS/nixpkgs/issues/146131
|
||||
prePatch = 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" \
|
||||
--replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
|
||||
substituteInPlace tests/Examples/Makefile.in \
|
||||
--replace "test-Examples: test-Examples-Base" "test-Examples:" # do not test the examples
|
||||
'';
|
||||
|
||||
dontDisableStatic = static;
|
||||
|
Loading…
Reference in New Issue
Block a user