about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2020-08-17 11:31:42 +0200
committeradisbladis <adisbladis@gmail.com>2020-08-17 11:31:42 +0200
commitd95c93c2ae63caeaa159039ff3136d8af7adcffd (patch)
tree33c685ceed5add08b30f3e2468398dbb244ba5f5 /pkgs/applications/editors
parent1219001ff7e96a93dd719581fe97e890c62065cf (diff)
emacs: Add --with-cairo when X is enabled
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix
index efdaaaf055f63..dfa917ac572df 100644
--- a/pkgs/applications/editors/emacs/default.nix
+++ b/pkgs/applications/editors/emacs/default.nix
@@ -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"