summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/mailreaders/notmuch
diff options
context:
space:
mode:
authorRien Maertens <rien.maertens@posteo.be>2022-03-22 11:20:58 +0100
committerRien Maertens <rien.maertens@posteo.be>2022-03-23 10:55:45 +0100
commitda2a5558ab0416ba1c2ddb1c454cdcfc3c05af60 (patch)
tree0e85994b0618e941a2461d0fb0e219a6e85431a6 /pkgs/applications/networking/mailreaders/notmuch
parent9bc841fec1c0e8b9772afa29f934d2c7ce57da8e (diff)
alot: fix ModuleNotFoundError of '_notmuch_config'
Diffstat (limited to 'pkgs/applications/networking/mailreaders/notmuch')
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix
index 184804a87888..e89216802e50 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix
@@ -62,7 +62,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
makeFlags = [ "V=1" ];
- outputs = [ "out" "man" "info" ]
+ postConfigure = ''
+ mkdir ${placeholder "bindingconfig"}
+ cp bindings/python-cffi/_notmuch_config.py ${placeholder "bindingconfig"}/
+ '';
+
+ outputs = [ "out" "man" "info" "bindingconfig" ]
++ lib.optional withEmacs "emacs"
++ lib.optional withRuby "ruby";