rPackages.JuniperKernel: fix non-Darwin build
This commit is contained in:
parent
640b6359ae
commit
89a5e6db55
@ -757,7 +757,7 @@ let
|
||||
});
|
||||
|
||||
JuniperKernel = old.JuniperKernel.overrideDerivation (attrs: {
|
||||
postPatch = ''
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
for file in {R,src}/*.R; do
|
||||
sed -i 's#system("which \(otool\|install_name_tool\)"[^)]*)#"${pkgs.darwin.cctools}/bin/\1"#g' $file
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user