about summary refs log tree commit diff
path: root/overlays/patches/emacs/default.nix
blob: a2bfc4bdd2981ab16d72482023d189b6bd41f729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ emacs, fetchpatch, ... } @ args:

let
  inherit (builtins) removeAttrs;
in

(emacs.override (removeAttrs args [ "emacs" "fetchpatch" ])).overrideAttrs (
  { patches ? [], ... }:
  {
    patches = patches ++ [
      (fetchpatch {
        url = "https://git.savannah.gnu.org/cgit/emacs.git/patch/?id=cbfce827ace4c410a2eed50c8d8c763721925b7e";
        sha256 = "0gy5vzcrrz7bba2y6xg6v67z625v6zbsia3i3ki0nk2ksayn9h9c";
      })
      (fetchpatch {
        url = "https://git.savannah.gnu.org/cgit/emacs.git/patch/?id=13651833c73b78e509a47ab38b8c5a60134f04fc";
        sha256 = "0plk9d8n0gsi8rpqn01qkkchwzcrig2cbr1ki9zpj140r7rywa6x";
      })
    ];
  }
)