clean up emacs framework dependencies

This commit is contained in:
Jude Taylor 2015-10-28 13:34:13 -07:00
parent 62ac96fdca
commit 5207f6b45c
2 changed files with 3 additions and 6 deletions

View file

@ -48,10 +48,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (withX && withGTK2) gtk2
++ stdenv.lib.optional (withX && withGTK3) gtk3
++ stdenv.lib.optional (stdenv.isDarwin && withX) cairo
++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Foundation libobjc ];
NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin
"/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation";
++ stdenv.lib.optional stdenv.isDarwin AppKit;
configureFlags =
if stdenv.isDarwin

View file

@ -10,7 +10,7 @@ with frameworks; with libs; {
AVKit = [];
Accounts = [];
AddressBook = [ Carbon CF ];
AppKit = [ AudioToolbox QuartzCore ];
AppKit = [ AudioToolbox Foundation QuartzCore ];
AppKitScripting = [];
AppleScriptKit = [];
AppleScriptObjC = [];
@ -46,7 +46,7 @@ with frameworks; with libs; {
ExceptionHandling = [];
FWAUserLib = [];
ForceFeedback = [ CF IOKit ];
Foundation = [ CF libobjc Security ApplicationServices AppKit SystemConfiguration ];
Foundation = [ CF libobjc Security ApplicationServices SystemConfiguration ];
GLKit = [ CF ];
GLUT = [ GL OpenGL ];
GSS = [];