move impure deps to a separate file

This commit is contained in:
Jude Taylor 2015-06-30 16:11:04 -07:00
parent b62baacbc1
commit 5429e06f58
2 changed files with 49 additions and 1 deletions

View file

@ -92,7 +92,7 @@ let
propagatedBuildInputs = deps;
# 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; {
description = "Apple SDK framework ${name}";

View 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"
];
}