notmuch: remove bash-completion and just specify path

This commit is contained in:
Doron Behar 2020-04-07 18:36:40 +03:00 committed by Florian Klink
parent d0dd8e6cca
commit 028fcf9643

View File

@ -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"