Merge pull request #64901 from dgchurchill/emacs-imagemagick-macos

emacs: Also allow imagemagick dependency when using withNS
This commit is contained in:
Matthew Bauer 2019-07-17 10:07:01 -04:00 committed by GitHub
commit 2255f29206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,8 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isLinux [ dbus libselinux systemd ]
++ lib.optionals withX
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
imagemagick gconf ]
gconf ]
++ lib.optionals (withX || withNS) [ imagemagick ]
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
++ lib.optional (withX && withGTK2) gtk2-x11
++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ]