Skip to content

Commit

Permalink
darwin-frameworks: expose more of Accelerate
Browse files Browse the repository at this point in the history
the sub-frameworks are not reacheable without that extension
  • Loading branch information
zimbatm committed Aug 7, 2018
1 parent 90e1bcc commit 895c073
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/os-specific/darwin/apple-sdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,13 @@ in rec {
};

overrides = super: {
Accelerate = stdenv.lib.overrideDerivation super.Accelerate (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework"
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework"
];
});

AppKit = stdenv.lib.overrideDerivation super.AppKit (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
"/System/Library/PrivateFrameworks/"
Expand Down

0 comments on commit 895c073

Please sign in to comment.