diff options
author | Mark H Weaver <mhw@netris.org> | 2015-04-21 11:43:57 -0400 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-04-22 09:57:51 +0800 |
commit | 3a5bce15d95d67810e5adebcb445247cc3f5fd1b (patch) | |
tree | 1ac08a6ed90b23581e5a22f0783b369b0d1d0330 /gnu | |
parent | f1a7fd7029f775d70528a9508f672f356a168be4 (diff) | |
download | gnu-guix-3a5bce15d95d67810e5adebcb445247cc3f5fd1b.tar gnu-guix-3a5bce15d95d67810e5adebcb445247cc3f5fd1b.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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/package-management.scm | 3 |
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"))) |