From 9a97b842c5962907def8a3ed086ba6bb29d5bd98 Mon Sep 17 00:00:00 2001 From: Eric Kow Date: Sun, 10 Nov 2013 13:41:10 +0000 Subject: [PATCH] Emacs darwin: avoid X unless explictly requested This keeps the dependencies lighter. Perhaps future work on this derivation could enable the Cocoa interface by default on Mac. --- pkgs/applications/editors/emacs-24/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs-24/default.nix b/pkgs/applications/editors/emacs-24/default.nix index 18e263dae67..c558b483e97 100644 --- a/pkgs/applications/editors/emacs-24/default.nix +++ b/pkgs/applications/editors/emacs-24/default.nix @@ -2,7 +2,7 @@ , pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif , libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls , alsaLib, cairo -, withX ? true +, withX ? !stdenv.isDarwin }: assert (libXft != null) -> libpng != null; # probably a bug