From e75a0c50bd9ec73b1f5f51ca91f5921cb509cf5a Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 14 Apr 2015 09:16:21 -0500 Subject: emacs: allow gtk without X on Darwin --- pkgs/applications/editors/emacs-24/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/editors/emacs-24') diff --git a/pkgs/applications/editors/emacs-24/default.nix b/pkgs/applications/editors/emacs-24/default.nix index 80fed602474e..c6060d2720bc 100644 --- a/pkgs/applications/editors/emacs-24/default.nix +++ b/pkgs/applications/editors/emacs-24/default.nix @@ -9,8 +9,8 @@ assert (libXft != null) -> libpng != null; # probably a bug assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise -assert withGTK2 -> withX; -assert withGTK3 -> withX; +assert withGTK2 -> withX || stdenv.isDarwin; +assert withGTK3 -> withX || stdenv.isDarwin; assert withGTK2 -> !withGTK3 && gtk2 != null; assert withGTK3 -> !withGTK2 && gtk3 != null; -- cgit 1.4.1