3
0
Fork 0
forked from mirrors/nixpkgs

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
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -683,7 +683,6 @@ rec {
targetPlatform = localSystem; targetPlatform = localSystem;
preHook = commonPreHook + '' preHook = commonPreHook + ''
export NIX_COREFOUNDATION_RPATH=${pkgs.darwin.CF}/Library/Frameworks
export PATH_LOCALE=${pkgs.darwin.locale}/share/locale export PATH_LOCALE=${pkgs.darwin.locale}/share/locale
''; '';