refactor(3p/notmuch): Simplify setup
The backported fix is no longer required and we can just apply the patch in the overlay, this makes everything a little easier. Change-Id: I654a1bb002eef5c578b8e576e133a159bde3f850 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3483 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
0dbad73ff1
commit
885b6d9bb8
4 changed files with 3 additions and 11 deletions
7
third_party/notmuch/default.nix
vendored
7
third_party/notmuch/default.nix
vendored
|
@ -1,7 +0,0 @@
|
||||||
# Notmuch, but with support for https://dotti.me/
|
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
pkgs.notmuch.overrideAttrs(old: {
|
|
||||||
doCheck = false;
|
|
||||||
patches = [ ./dottime.patch ] ++ (if old ? patches then old.patches else []);
|
|
||||||
})
|
|
5
third_party/overlays/tvl.nix
vendored
5
third_party/overlays/tvl.nix
vendored
|
@ -29,11 +29,10 @@ self: super: {
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
# Temporary fix for python3Packages.notmuch
|
# dottime support for notmuch
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/132592/
|
|
||||||
notmuch = super.notmuch.overrideAttrs(old: {
|
notmuch = super.notmuch.overrideAttrs(old: {
|
||||||
passthru = old.passthru // {
|
passthru = old.passthru // {
|
||||||
pythonSourceRoot = "notmuch-${old.version}/bindings/python";
|
patches = old.patches ++ [ ./patches/notmuch-dottime.patch ];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ let
|
||||||
multiple-cursors
|
multiple-cursors
|
||||||
nginx-mode
|
nginx-mode
|
||||||
nix-mode
|
nix-mode
|
||||||
notmuch # this comes from pkgs.third_party
|
notmuch
|
||||||
paredit
|
paredit
|
||||||
password-store
|
password-store
|
||||||
pinentry
|
pinentry
|
||||||
|
|
Loading…
Add table
Reference in a new issue