From fcd9904be6626b641d7e4252c900a13749b05a41 Mon Sep 17 00:00:00 2001 From: Danie Roux Date: Sun, 1 Sep 2013 16:24:36 +0200 Subject: [PATCH] emacs24: Let -nox be a whole lot less X than it was --with-x-toolkit=no still wants to -lX11 when checking for ncurses --- 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 fbb7d7a4b160..bdb7c2a565a7 100644 --- a/pkgs/applications/editors/emacs-24/default.nix +++ b/pkgs/applications/editors/emacs-24/default.nix @@ -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" ];