fixDarwinDylibNames: Make Darwin-exclusive

For consistency with & same reason as autoPatchelfHook being Linux-exclusive.
This commit is contained in:
OPNA2608 2022-03-22 19:48:07 +01:00
parent d2f268745a
commit 835b162cae

View file

@ -841,7 +841,9 @@ with pkgs;
setJavaClassPath = makeSetupHook { } ../build-support/setup-hooks/set-java-classpath.sh;
fixDarwinDylibNames = makeSetupHook {
name = "fix-darwin-dylib-names-hook";
substitutions = { inherit (binutils) targetPrefix; };
meta.platforms = lib.platforms.darwin;
} ../build-support/setup-hooks/fix-darwin-dylib-names.sh;
writeDarwinBundle = callPackage ../build-support/make-darwin-bundle/write-darwin-bundle.nix { };