-
Notifications
You must be signed in to change notification settings - Fork 0
/
overlay.nix
27 lines (24 loc) · 934 Bytes
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(final: prev: {
evince = prev.evince.overrideAttrs (old: rec {
pname = old.pname + "-patched";
version = "46.3";
src = prev.fetchurl {
url = "mirror://gnome/sources/evince/${prev.lib.versions.major version}/${old.pname}-${version}.tar.xz";
sha256 = "sha256-vA0dQbnX/8di6Z0qv6+sv3RRgvCzHYbbXuyMZ/XzAGs=";
};
patches = (old.patches or []) ++ [
./patches/0-vim-like-bindings.patch
./patches/add-annotation-right-click.patch
./patches/add-keyboard-binding-to-toggle-menu-bar.patch
./patches/add-save-action-and-make-default.patch
./patches/add-web-search-action.patch
./patches/custom-commands.patch
./patches/initially-hide-menu-bar.patch
# ./patches/sync-page.patch
./patches/zathura-like.patch
];
# If applying the patches fails try with a higher fuzz value
# --fuzz is similar to -C
patchFlags = [ "-p1" "--fuzz=3" ];
});
})