about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 14fbe80e73..897602f31e 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;