Skip to content

Commit

Permalink
darwin-frameworks: don't use pure CF
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Mar 12, 2017
1 parent 04fa8e0 commit 97a3e7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkgs/os-specific/darwin/apple-sdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];

Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 97a3e7c

Please sign in to comment.