darwin.stdenv: drop NIX_COREFOUNDATION_RPATH from preHook

Rely on swift-corefoundation to set this in its hook. That way, it will
be dropped from the `extraBuildInputs` during a cross build.
This commit is contained in:
Randy Eckenrode
2023-05-30 13:28:34 -04:00
parent 0d3355a439
commit 7c043234ec
-1
View File
@@ -683,7 +683,6 @@ rec {
targetPlatform = localSystem;
preHook = commonPreHook + ''
export NIX_COREFOUNDATION_RPATH=${pkgs.darwin.CF}/Library/Frameworks
export PATH_LOCALE=${pkgs.darwin.locale}/share/locale
'';