summaryrefslogtreecommitdiff
path: root/pkgs/emacs.nix
blob: 0de2288b80cfd99abfdac24a2f84f86733e7cd04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  emacs,
  fetchFromGitHub
}:

(emacs.override {
  withXwidgets = false;
  withX = true;
  withGTK3 = false;
  withAthena = false;
  srcRepo = true;
}).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";
    patches = patches ++ [./emacs-alpha-dividers.patch];
    src = fetchFromGitHub {
      owner = "emacs-mirror";
      repo = "emacs";
      rev = "4e165cc2d0cfb889ea2206a5e7a4ccf8c77aa2b5";
      hash = "sha256-CWwe8CXLGXlS3rV2Tjk+xDBjrmkjQANv25x+6AqMMlc=";
    };
  })