emacs: allow gtk without X on Darwin

This commit is contained in:
Thomas Tuegel 2015-04-14 09:16:21 -05:00
parent 4213e9f30f
commit e75a0c50bd

View File

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