darwin-frameworks: don't use pure CF

This commit is contained in:
Daiderd Jordan 2017-03-07 22:10:07 +01:00
parent 04fa8e006c
commit 97a3e7cf52
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 5 additions and 1 deletions

View File

@ -119,6 +119,9 @@ let
propagatedBuildInputs = deps;
# don't use pure CF for dylibs that depend on frameworks
setupHook = ../../../build-support/setup-hooks/fix-darwin-frameworks.sh;
# allows building the symlink tree
__impureHostDeps = [ "/System/Library/Frameworks/${name}.framework" ];

View File

@ -8733,7 +8733,8 @@ with pkgs;
libusb = callPackage ../development/libraries/libusb {};
libusb1 = callPackage ../development/libraries/libusb1 {
inherit (darwin) libobjc IOKit;
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) IOKit;
};
libusbmuxd = callPackage ../development/libraries/libusbmuxd { };