summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-02-18 12:56:10 -0700
committerKenny Ballou <kballou@devnulllabs.io>2020-02-18 12:56:10 -0700
commit6261e19edd6026ec955aa112d9774ee3abdc0468 (patch)
tree3c625c08d35509a479c1cd4e3c45b3885e806630 /overlays
parente882379c5cc7cbbbbdeff3121192301ab536d267 (diff)
downloadcfg.nix-6261e19edd6026ec955aa112d9774ee3abdc0468.tar.gz
cfg.nix-6261e19edd6026ec955aa112d9774ee3abdc0468.tar.xz
emacs: use lucid toolkit
Customize and override the build for Emacs to use the `lucid` toolkit to rid ourselves of that accursed bug with GTK. [0]: https://nixos.org/nixos/manual/index.html#module-services-emacs-adding-packages [1]: https://bugzilla.gnome.org/show_bug.cgi?id=85715 [2]: https://gitlab.gnome.org/GNOME/gtk/issues/221 Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'overlays')
-rw-r--r--overlays/10-emacs.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/overlays/10-emacs.nix b/overlays/10-emacs.nix
index 678b2d4..a1fdf4b 100644
--- a/overlays/10-emacs.nix
+++ b/overlays/10-emacs.nix
@@ -1,7 +1,12 @@
self: super:
let
- emacsWithPkgs = self.emacsWithPackages
+ emacs = (super.pkgs.emacs.override {
+ # enable lucid
+ withGTK3 = false;
+ withGTK2 = false;
+ });
+ emacsWithPkgs = (self.emacsPackagesGen emacs).emacsWithPackages
(import ./emacs/packages.nix { epkgs = self.emacsPackages; });
in {