summaryrefslogtreecommitdiff
path: root/modules/overlays/emacs.nix
blob: 05bb663969a2fbb2a4b74f9f6a9edc383c2d302b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
final: prev: {
  emacs = (prev.emacs.override {
    withNativeCompilation = false;
    withXwidgets = false;
    withX = true;
    withGTK3 = false;
    withAthena = false;
  }).overrideAttrs (attrs: with builtins; with attrs; {
    configureFlags = filter (f: !elem f
      ["--with-x-toolkit=lucid" "--with-toolkit-scroll-bars"])
      configureFlags ++ ["--with-x-toolkit=no" "--without-toolkit-scroll-bars"];
  });
}