emacs: Always add cairo as a build input if X is enabled
This commit is contained in:
parent
e890823467
commit
807e8e053c
|
@ -88,12 +88,11 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optionals stdenv.isLinux [ dbus libselinux systemd ]
|
++ lib.optionals stdenv.isLinux [ dbus libselinux systemd ]
|
||||||
++ lib.optionals withX
|
++ lib.optionals withX
|
||||||
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff libXft
|
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff libXft
|
||||||
gconf ]
|
gconf cairo ]
|
||||||
++ lib.optionals (withX || withNS) [ imagemagick librsvg ]
|
++ lib.optionals (withX || withNS) [ imagemagick librsvg ]
|
||||||
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
|
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
|
||||||
++ lib.optional (withX && withGTK2) gtk2-x11
|
++ lib.optional (withX && withGTK2) gtk2-x11
|
||||||
++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ]
|
++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ]
|
||||||
++ lib.optional (stdenv.isDarwin && withX) cairo
|
|
||||||
++ lib.optionals (withX && withXwidgets) [ webkitgtk glib-networking ]
|
++ lib.optionals (withX && withXwidgets) [ webkitgtk glib-networking ]
|
||||||
++ lib.optionals withNS [ AppKit GSS ImageIO ]
|
++ lib.optionals withNS [ AppKit GSS ImageIO ]
|
||||||
++ lib.optionals nativeComp [ libgccjit ]
|
++ lib.optionals nativeComp [ libgccjit ]
|
||||||
|
|
Loading…
Reference in New Issue