darwin-CF: use @rpath for library id and add an rpath entry for CF based on NIX_COREFOUNDATION_RPATH

This commit is contained in:
Daiderd Jordan
2017-08-28 23:24:58 +02:00
parent 0f043d497d
commit 92652b4d79
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -300,6 +300,7 @@ in rec {
targetPlatform = localSystem;
preHook = commonPreHook + ''
export NIX_COREFOUNDATION_RPATH=${pkgs.darwin.CF}/Library/Frameworks
export PATH_LOCALE=${pkgs.darwin.locale}/share/locale
'';