summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs
diff options
context:
space:
mode:
authorDrew Hess <src@drewhess.com>2017-03-18 20:20:24 -0700
committerDaiderd Jordan <daiderd@gmail.com>2017-03-19 18:11:21 +0100
commitb800655639b468fc0abe191de021b717245c060b (patch)
tree9f6414ac0efcbb825e56271120567d42f3979a52 /pkgs/applications/editors/emacs
parentde494f5842544dba12a09c7f119e2cc645780cc7 (diff)
downloadnixlib-b800655639b468fc0abe191de021b717245c060b.tar
nixlib-b800655639b468fc0abe191de021b717245c060b.tar.gz
nixlib-b800655639b468fc0abe191de021b717245c060b.tar.bz2
nixlib-b800655639b468fc0abe191de021b717245c060b.tar.lz
nixlib-b800655639b468fc0abe191de021b717245c060b.tar.xz
nixlib-b800655639b468fc0abe191de021b717245c060b.tar.zst
nixlib-b800655639b468fc0abe191de021b717245c060b.zip
emacs25Macport: fix for new macOS 10.10 frameworks.
See https://github.com/NixOS/nixpkgs/pull/23907#issuecomment-286627100.
Diffstat (limited to 'pkgs/applications/editors/emacs')
-rw-r--r--pkgs/applications/editors/emacs/macport.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/macport.nix b/pkgs/applications/editors/emacs/macport.nix
index 9169c12417ae..90812fb802c5 100644
--- a/pkgs/applications/editors/emacs/macport.nix
+++ b/pkgs/applications/editors/emacs/macport.nix
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
     "--enable-mac-app=$$out/Applications"
   ];
 
-  CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1090";
+  CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_10 -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_10";
   LDFLAGS = "-O3 -L${ncurses.out}/lib";
 
   postInstall = ''