aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-04-21 11:43:57 -0400
committerMark H Weaver <mhw@netris.org>2015-04-21 19:04:34 -0400
commitdd3a42e6244ff2c256430cfa5c7689c0cfd81511 (patch)
tree52880915f927599306f1b235dc13a65650e4fa3f
parent54b76b60d961b9b3c70b50831e19199b92dd1526 (diff)
downloadpatches-dd3a42e6244ff2c256430cfa5c7689c0cfd81511.tar
patches-dd3a42e6244ff2c256430cfa5c7689c0cfd81511.tar.gz
gnu: guix: Don't install in /etc/bash_completion.d within build environment.
Fixes <http://bugs.gnu.org/20394>. Patch by Ludovic Courtès <ludo@gnu.org>. * gnu/packages/package-management.scm (guix)[arguments]: Pass "--with-bash-completion-dir" option to configure.
-rw-r--r--gnu/packages/package-management.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 131cbcd9a7..5340d42980 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -67,6 +67,9 @@
`(#:configure-flags (list
"--localstatedir=/var"
"--sysconfdir=/etc"
+ (string-append "--with-bash-completion-dir="
+ (assoc-ref %outputs "out")
+ "/etc/bash_completion.d")
(string-append "--with-libgcrypt-prefix="
(assoc-ref %build-inputs
"libgcrypt")))