summaryrefslogtreecommitdiff
path: root/modules/overlays/emacs.nix
blob: 048794a01a3a52ca297ed689485fc396f47c6a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"];
    version = "31.0.50";
    src = prev.fetchFromSavannah {
      repo = "emacs";
      rev = "340149c0a3f85a02a4e80425e0bb86545bb4b599";
      hash = "sha256-K5wcG3+6EQiUHEpzaC3XTc+3aHKhl//EnXgoXEQZ1pw=";
    };
  });
}