1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00

emacs: Add --with-cairo when X is enabled

This commit is contained in:
adisbladis 2020-08-17 11:31:42 +02:00
parent 1219001ff7
commit d95c93c2ae
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -116,7 +116,7 @@ in stdenv.mkDerivation {
(if withNS
then [ "--disable-ns-self-contained" ]
else if withX
then [ "--with-x-toolkit=${toolkit}" "--with-xft" ]
then [ "--with-x-toolkit=${toolkit}" "--with-xft" "--with-cairo" ]
else [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no"
"--with-gif=no" "--with-tiff=no" ])
++ lib.optional withXwidgets "--with-xwidgets"