From 028fcf96439a9df0b4a495097f12358c1bd2b1c7 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 7 Apr 2020 18:36:40 +0300 Subject: [PATCH] notmuch: remove bash-completion and just specify path --- pkgs/applications/networking/mailreaders/notmuch/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix index 35e7a9be427..e4a09ec5a16 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix @@ -3,7 +3,6 @@ , xapian, gmime, talloc, zlib , doxygen, perl, texinfo , pythonPackages -, bash-completion , emacs , ruby , which, dtach, openssl, bash, gdb, man @@ -31,7 +30,6 @@ stdenv.mkDerivation rec { doxygen # (optional) api docs pythonPackages.sphinx # (optional) documentation -> doc/INSTALL texinfo # (optional) documentation -> doc/INSTALL - bash-completion # (optional) dependency to install bash completion ] ++ optional withEmacs [ emacs ]; buildInputs = [ @@ -56,6 +54,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--zshcompletiondir=${placeholder "out"}/share/zsh/site-functions" + "--bashcompletiondir=${placeholder "out"}/share/bash-completion/completions" "--infodir=${placeholder "info"}" ] ++ optional (!withEmacs) "--without-emacs" ++ optional (withEmacs) "--emacslispdir=${placeholder "emacs"}/share/emacs/site-lisp"