summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-09-30 17:13:56 -0700
committerJude Taylor <me@jude.bio>2015-09-30 17:14:43 -0700
commit0870c09854db0269d855cc04940d5236e0e59d7d (patch)
tree9c4bcc46d358c0fffc18cde1599c496e5ab9fd6c /pkgs/applications
parentab16b6a83719b779e5fbea9b594d1dd09b3bcd76 (diff)
downloadnixlib-0870c09854db0269d855cc04940d5236e0e59d7d.tar
nixlib-0870c09854db0269d855cc04940d5236e0e59d7d.tar.gz
nixlib-0870c09854db0269d855cc04940d5236e0e59d7d.tar.bz2
nixlib-0870c09854db0269d855cc04940d5236e0e59d7d.tar.lz
nixlib-0870c09854db0269d855cc04940d5236e0e59d7d.tar.xz
nixlib-0870c09854db0269d855cc04940d5236e0e59d7d.tar.zst
nixlib-0870c09854db0269d855cc04940d5236e0e59d7d.zip
darwin purity: emacs-24.5-mac
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/editors/emacs-24/macport-24.5.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/applications/editors/emacs-24/macport-24.5.nix b/pkgs/applications/editors/emacs-24/macport-24.5.nix
index 2b6dca9039f0..879c0f551376 100644
--- a/pkgs/applications/editors/emacs-24/macport-24.5.nix
+++ b/pkgs/applications/editors/emacs-24/macport-24.5.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, ncurses, pkgconfig, texinfo, libxml2, gnutls
+{ stdenv, fetchurl, ncurses, pkgconfig, texinfo, libxml2, gnutls, Carbon, Foundation,
+libobjc, Cocoa, WebKit, Quartz, ImageCaptureCore, OSAKit
 }:
 
 stdenv.mkDerivation rec {
@@ -17,7 +18,16 @@ stdenv.mkDerivation rec {
     sha256 = "0d4r4mgqxcdba715lbr7rk4bxz7yjxi6wv63kyh6gaqbfgql41vf";
   };
 
-  buildInputs = [ ncurses pkgconfig texinfo libxml2 gnutls ];
+  NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
+  NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin
+    "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation";
+
+  enableParallelBuilding = true;
+
+  buildInputs = [
+    ncurses pkgconfig texinfo libxml2 gnutls Carbon Cocoa Foundation libobjc WebKit Quartz
+    ImageCaptureCore OSAKit
+  ];
 
   postUnpack = ''
     mv $emacsName $name