move impure deps to a separate file
This commit is contained in:
parent
b62baacbc1
commit
5429e06f58
@ -92,7 +92,7 @@ let
|
|||||||
propagatedBuildInputs = deps;
|
propagatedBuildInputs = deps;
|
||||||
|
|
||||||
# Not going to bother being more precise than this...
|
# Not going to bother being more precise than this...
|
||||||
__propagatedImpureHostDeps = [ "/System/Library/Frameworks/${name}.framework/Versions" ];
|
__propagatedImpureHostDeps = (import ./impure-deps.nix).${name};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Apple SDK framework ${name}";
|
description = "Apple SDK framework ${name}";
|
||||||
|
48
pkgs/os-specific/darwin/apple-sdk/impure-deps.nix
Normal file
48
pkgs/os-specific/darwin/apple-sdk/impure-deps.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
CoreFoundation = [
|
||||||
|
"/System/Library/Frameworks/CoreFoundation.framework"
|
||||||
|
];
|
||||||
|
CFNetwork = [
|
||||||
|
"/System/Library/Frameworks/CFNetwork.framework"
|
||||||
|
];
|
||||||
|
IOKit = [
|
||||||
|
"/System/Library/Frameworks/IOKit.framework"
|
||||||
|
];
|
||||||
|
DiskArbitration = [
|
||||||
|
"/System/Library/Frameworks/DiskArbitration.framework"
|
||||||
|
];
|
||||||
|
Security = [
|
||||||
|
"/System/Library/Frameworks/Security.framework"
|
||||||
|
];
|
||||||
|
CoreServices = [
|
||||||
|
"/System/Library/Frameworks/CoreServices.framework"
|
||||||
|
];
|
||||||
|
IOSurface = [
|
||||||
|
"/System/Library/Frameworks/IOSurface.framework"
|
||||||
|
];
|
||||||
|
CoreGraphics = [
|
||||||
|
"/System/Library/Frameworks/CoreGraphics.framework"
|
||||||
|
];
|
||||||
|
CoreText = [
|
||||||
|
"/System/Library/Frameworks/CoreText.framework"
|
||||||
|
];
|
||||||
|
ImageIO = [
|
||||||
|
"/System/Library/Frameworks/ImageIO.framework"
|
||||||
|
];
|
||||||
|
ApplicationServices = [
|
||||||
|
"/System/Library/Frameworks/ApplicationServices.framework"
|
||||||
|
];
|
||||||
|
OpenGL = [];
|
||||||
|
CoreVideo = [];
|
||||||
|
QuartzCore = [];
|
||||||
|
PCSC = [
|
||||||
|
"/System/Library/Frameworks/PCSC.framework"
|
||||||
|
];
|
||||||
|
AppKit = [
|
||||||
|
"/System/Library/Frameworks/AppKit.framework"
|
||||||
|
];
|
||||||
|
Foundation = [
|
||||||
|
"/System/Library/Frameworks/Foundation.framework"
|
||||||
|
"/usr/lib/libextension.dylib"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user