about summary refs log tree commit diff
path: root/third_party/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/default.nix')
-rw-r--r--third_party/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index 14fbe80e7344..897602f31e13 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -223,7 +223,10 @@ in exposed.lib.fix(self: exposed // {
   # The assert exists because the name of the attribute is unversioned
   # (which is different from previous versions).
   emacs27 = assert ((exposed.lib.versions.major nixpkgs.emacs.version) == "27");
-    nixpkgs.emacs;
+    nixpkgs.emacs.overrideAttrs(old: {
+      configureFlags = old.configureFlags ++ [ "--with-cairo" ];
+    });
+
   emacs27-nox = assert ((exposed.lib.versions.major nixpkgs.emacs.version) == "27");
     nixpkgs.emacs-nox;