darwin-frameworks: remove CF
CoreFoundation is included by the stdenv, moving the decision of what version should be used there makes it possible to override it entirely rather then prepending flags like cf-private does which can be unreliable.
This commit is contained in:
parent
f38fbf853f
commit
c2b76fa13c
@ -156,7 +156,7 @@ in rec {
|
||||
__propagatedImpureHostDeps = [ "/usr/lib/libXplugin.1.dylib" ];
|
||||
|
||||
propagatedBuildInputs = with frameworks; [
|
||||
OpenGL ApplicationServices Carbon IOKit pkgs.darwin.CF CoreGraphics CoreServices CoreText
|
||||
OpenGL ApplicationServices Carbon IOKit CoreGraphics CoreServices CoreText
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
@ -222,7 +222,7 @@ in rec {
|
||||
|
||||
bareFrameworks = stdenv.lib.mapAttrs framework (import ./frameworks.nix {
|
||||
inherit frameworks libs;
|
||||
inherit (pkgs.darwin) CF cf-private libobjc;
|
||||
inherit (pkgs.darwin) cf-private libobjc;
|
||||
});
|
||||
|
||||
frameworks = bareFrameworks // overrides bareFrameworks;
|
||||
|
@ -2,81 +2,81 @@
|
||||
# Epic weird knot-tying happening here.
|
||||
# TODO: clean up the process for generating this and include it
|
||||
|
||||
{ frameworks, libs, CF, libobjc, cf-private }:
|
||||
{ frameworks, libs, libobjc, cf-private }:
|
||||
|
||||
with frameworks; with libs; {
|
||||
AGL = [ Carbon OpenGL ];
|
||||
AVFoundation = [ ApplicationServices CoreGraphics ];
|
||||
AVKit = [];
|
||||
Accounts = [];
|
||||
AddressBook = [ Carbon CF ];
|
||||
AddressBook = [ Carbon ];
|
||||
AppKit = [ AudioToolbox AudioUnit Foundation QuartzCore ];
|
||||
AppKitScripting = [];
|
||||
AppleScriptKit = [];
|
||||
AppleScriptObjC = [];
|
||||
AudioToolbox = [ CoreAudio CF CoreMIDI ];
|
||||
AudioUnit = [ AudioToolbox Carbon CoreAudio CF ];
|
||||
AudioToolbox = [ CoreAudio CoreMIDI ];
|
||||
AudioUnit = [ AudioToolbox Carbon CoreAudio ];
|
||||
AudioVideoBridging = [ Foundation ];
|
||||
Automator = [];
|
||||
CFNetwork = [ CF ];
|
||||
CFNetwork = [];
|
||||
CalendarStore = [];
|
||||
Cocoa = [ AppKit ];
|
||||
Collaboration = [];
|
||||
# Impure version of CoreFoundation, this should not be used unless another
|
||||
# framework includes headers that are not available in the pure version.
|
||||
CoreFoundation = [];
|
||||
CoreAudio = [ CF IOKit ];
|
||||
CoreAudio = [ IOKit ];
|
||||
CoreAudioKit = [ AudioUnit ];
|
||||
CoreData = [];
|
||||
CoreGraphics = [ Accelerate CF IOKit IOSurface SystemConfiguration ];
|
||||
CoreImage = [ ];
|
||||
CoreGraphics = [ Accelerate IOKit IOSurface SystemConfiguration ];
|
||||
CoreImage = [];
|
||||
CoreLocation = [];
|
||||
CoreMIDI = [ CF ];
|
||||
CoreMIDI = [];
|
||||
CoreMIDIServer = [];
|
||||
CoreMedia = [ ApplicationServices AudioToolbox AudioUnit CoreAudio CF CoreGraphics CoreVideo ];
|
||||
CoreMediaIO = [ CF CoreMedia ];
|
||||
CoreText = [ CF CoreGraphics ];
|
||||
CoreVideo = [ ApplicationServices CF CoreGraphics IOSurface OpenGL ];
|
||||
CoreMedia = [ ApplicationServices AudioToolbox AudioUnit CoreAudio CoreGraphics CoreVideo ];
|
||||
CoreMediaIO = [ CoreMedia ];
|
||||
CoreText = [ CoreGraphics ];
|
||||
CoreVideo = [ ApplicationServices CoreGraphics IOSurface OpenGL ];
|
||||
CoreWLAN = [ SecurityFoundation ];
|
||||
DVDPlayback = [];
|
||||
DirectoryService = [ CF ];
|
||||
DiscRecording = [ CF CoreServices IOKit ];
|
||||
DirectoryService = [];
|
||||
DiscRecording = [ CoreServices IOKit ];
|
||||
DiscRecordingUI = [];
|
||||
DiskArbitration = [ CF IOKit ];
|
||||
DiskArbitration = [ IOKit ];
|
||||
EventKit = [];
|
||||
ExceptionHandling = [];
|
||||
FWAUserLib = [];
|
||||
ForceFeedback = [ CF IOKit ];
|
||||
ForceFeedback = [ IOKit ];
|
||||
Foundation = [ cf-private libobjc Security ApplicationServices SystemConfiguration ];
|
||||
GLKit = [ CF ];
|
||||
GLKit = [ ];
|
||||
GLUT = [ OpenGL ];
|
||||
GSS = [];
|
||||
GameController = [];
|
||||
GameKit = [ Foundation ];
|
||||
Hypervisor = [];
|
||||
ICADevices = [ Carbon CF IOBluetooth ];
|
||||
ICADevices = [ Carbon IOBluetooth ];
|
||||
IMServicePlugIn = [];
|
||||
IOBluetoothUI = [ IOBluetooth ];
|
||||
IOKit = [ CF ];
|
||||
IOSurface = [ CF IOKit xpc ];
|
||||
IOKit = [];
|
||||
IOSurface = [ IOKit xpc ];
|
||||
ImageCaptureCore = [];
|
||||
ImageIO = [ CF CoreGraphics ];
|
||||
ImageIO = [ CoreGraphics ];
|
||||
InputMethodKit = [ Carbon ];
|
||||
InstallerPlugins = [];
|
||||
InstantMessage = [];
|
||||
JavaFrameEmbedding = [];
|
||||
JavaScriptCore = [ CF ];
|
||||
JavaScriptCore = [];
|
||||
Kerberos = [];
|
||||
Kernel = [ CF IOKit ];
|
||||
Kernel = [ IOKit ];
|
||||
LDAP = [];
|
||||
LatentSemanticMapping = [ Carbon CF ];
|
||||
LatentSemanticMapping = [ Carbon ];
|
||||
MapKit = [];
|
||||
MediaAccessibility = [ CF CoreGraphics CoreText QuartzCore ];
|
||||
MediaToolbox = [ AudioToolbox AudioUnit CF CoreMedia ];
|
||||
MediaAccessibility = [ CoreGraphics CoreText QuartzCore ];
|
||||
MediaToolbox = [ AudioToolbox AudioUnit CoreMedia ];
|
||||
Metal = [];
|
||||
MetalKit = [ ModelIO Metal ];
|
||||
ModelIO = [ ];
|
||||
NetFS = [ CF ];
|
||||
NetFS = [];
|
||||
OSAKit = [ Carbon ];
|
||||
OpenAL = [];
|
||||
OpenCL = [ IOSurface OpenGL ];
|
||||
@ -85,37 +85,37 @@ with frameworks; with libs; {
|
||||
PreferencePanes = [];
|
||||
PubSub = [];
|
||||
QTKit = [ CoreMediaIO CoreMedia MediaToolbox QuickTime VideoToolbox ];
|
||||
QuickLook = [ ApplicationServices CF ];
|
||||
QuickLook = [ ApplicationServices ];
|
||||
SceneKit = [];
|
||||
ScreenSaver = [];
|
||||
Scripting = [];
|
||||
ScriptingBridge = [];
|
||||
Security = [ CF IOKit ];
|
||||
Security = [ IOKit ];
|
||||
SecurityFoundation = [];
|
||||
SecurityInterface = [ Security ];
|
||||
ServiceManagement = [ CF Security ];
|
||||
ServiceManagement = [ Security ];
|
||||
Social = [];
|
||||
SpriteKit = [];
|
||||
StoreKit = [];
|
||||
SyncServices = [];
|
||||
SystemConfiguration = [ CF Security ];
|
||||
SystemConfiguration = [ Security ];
|
||||
TWAIN = [ Carbon ];
|
||||
Tcl = [];
|
||||
VideoDecodeAcceleration = [ CF CoreVideo ];
|
||||
VideoToolbox = [ CF CoreMedia CoreVideo ];
|
||||
VideoDecodeAcceleration = [ CoreVideo ];
|
||||
VideoToolbox = [ CoreMedia CoreVideo ];
|
||||
WebKit = [ ApplicationServices Carbon JavaScriptCore OpenGL ];
|
||||
|
||||
# Umbrellas
|
||||
Accelerate = [ CoreWLAN IOBluetooth ];
|
||||
ApplicationServices = [ CF CoreServices CoreText ImageIO ];
|
||||
Carbon = [ ApplicationServices CF CoreServices Foundation IOKit Security QuartzCore ];
|
||||
ApplicationServices = [ CoreServices CoreText ImageIO ];
|
||||
Carbon = [ ApplicationServices CoreServices Foundation IOKit Security QuartzCore ];
|
||||
CoreBluetooth = [];
|
||||
CoreServices = [ CFNetwork CoreAudio CoreData CF DiskArbitration Security NetFS OpenDirectory ServiceManagement ];
|
||||
CoreServices = [ CFNetwork CoreAudio CoreData DiskArbitration Security NetFS OpenDirectory ServiceManagement ];
|
||||
IOBluetooth = [ IOKit ];
|
||||
JavaVM = [];
|
||||
OpenDirectory = [];
|
||||
Quartz = [ QuickLook QTKit ];
|
||||
QuartzCore = [ ApplicationServices CF CoreVideo OpenCL CoreImage Metal ];
|
||||
QuartzCore = [ ApplicationServices CoreVideo OpenCL CoreImage Metal ];
|
||||
QuickTime = [ ApplicationServices AudioUnit Carbon CoreAudio CoreServices OpenGL QuartzCore ];
|
||||
|
||||
vmnet = [];
|
||||
|
@ -10,6 +10,10 @@ in
|
||||
|
||||
callPackage = newScope (darwin.apple_sdk.frameworks // darwin);
|
||||
|
||||
stdenvNoCF = stdenv.override {
|
||||
extraBuildInputs = [];
|
||||
};
|
||||
|
||||
apple_sdk = callPackage ../os-specific/darwin/apple-sdk { };
|
||||
|
||||
binutils-unwrapped = callPackage ../os-specific/darwin/binutils {
|
||||
|
Loading…
Reference in New Issue
Block a user