diff options
author | Rien Maertens <rien.maertens@posteo.be> | 2022-03-22 11:20:58 +0100 |
---|---|---|
committer | Rien Maertens <rien.maertens@posteo.be> | 2022-03-23 10:55:45 +0100 |
commit | da2a5558ab0416ba1c2ddb1c454cdcfc3c05af60 (patch) | |
tree | 0e85994b0618e941a2461d0fb0e219a6e85431a6 /pkgs/applications/networking/mailreaders/alot | |
parent | 9bc841fec1c0e8b9772afa29f934d2c7ce57da8e (diff) |
alot: fix ModuleNotFoundError of '_notmuch_config'
Diffstat (limited to 'pkgs/applications/networking/mailreaders/alot')
-rw-r--r-- | pkgs/applications/networking/mailreaders/alot/notmuch.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/alot/notmuch.nix b/pkgs/applications/networking/mailreaders/alot/notmuch.nix index bd195b52d44e..5d74270a58c2 100644 --- a/pkgs/applications/networking/mailreaders/alot/notmuch.nix +++ b/pkgs/applications/networking/mailreaders/alot/notmuch.nix @@ -14,6 +14,12 @@ buildPythonPackage { buildInputs = [ python notmuch cffi ]; + # since notmuch 0.35, this package expects _notmuch_config.py that is + # generated by notmuch's configure script + postPatch = '' + cp ${notmuch.bindingconfig}/_notmuch_config.py . + ''; + # no tests doCheck = false; pythonImportsCheck = [ "notmuch2" ]; |