From 9abd13c26b170ddc770a7e2c70098bf392d569c4 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 21 Feb 2024 21:54:32 +0100 Subject: [PATCH] Re-enable gtk3 in emacs to run in wayland. --- options/emacs-init.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/options/emacs-init.nix b/options/emacs-init.nix index a605c62..f226940 100644 --- a/options/emacs-init.nix +++ b/options/emacs-init.nix @@ -436,12 +436,14 @@ in { # use lucid as toolkit; emacs will otherwise crash quite frequently when run in daemon mode # https://gitlab.gnome.org/GNOME/gtk/issues/221 + # Enabling again for now as gtk3 is needed for wayland support machine.pkgsets.emacs.pkgwrap = let inherit ((pkgs.emacsPackagesFor - (pkgs.emacs.override { + (pkgs.emacs29.override { withGTK2 = false; - withGTK3 = false; + withGTK3 = true; + withPgtk = true; }))) emacsWithPackages ;