diff --git a/modules/emacs.nix b/modules/emacs.nix index 43da05c..63b38b6 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -1,9 +1,27 @@ -{ pkgs, lib, config, ... }: +{ pkgs, lib, config, inputs, ... }: { services.emacs = { enable = true; - package = with pkgs; + package = with import pkgs.path { + system = "x86_64-linux"; + overlays = [ + (final: prev: { + gtk3 = prev.gtk3.overrideAttrs { + src = final.fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "GNOME"; + repo = "gtk"; + rev = + "6bb28fca797882a238b41fdaf88dfea8f6b2dfc5"; # 2024.11.16 gtk-3-24 branch + hash = "sha256-k7G0a/W5LCw/Yto20CYwUZoVh6ebdYIji00JS3RCaQ8="; + }; + }; + }) + + inputs.emacs.overlay + ]; + }; ((emacsPackagesFor pkgs.emacs-pgtk).emacsWithPackages (epkgs: with epkgs; [ vterm