emacs24: Let -nox be a whole lot less X than it was

--with-x-toolkit=no still wants to -lX11 when checking for ncurses
This commit is contained in:
Danie Roux 2013-09-01 16:24:36 +02:00
parent 7caf3daafa
commit fcd9904be6

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
(if withX then
[ "--with-x-toolkit=gtk" "--with-xft"]
else
[ "--with-x-toolkit=no" ])
[ "--with-x=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no" ])
# On NixOS, help Emacs find `crt*.o'.
++ stdenv.lib.optional (stdenv ? glibc)
[ "--with-crt-dir=${stdenv.glibc}/lib" ];