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.
This commit is contained in:
Eric Kow 2013-11-10 13:41:10 +00:00
parent b9f5b880e7
commit 9a97b842c5

View file

@ -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