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.
This commit is contained in:
Mark H Weaver 2015-04-21 11:43:57 -04:00 committed by 宋文武
parent f1a7fd7029
commit 3a5bce15d9
1 changed files with 3 additions and 0 deletions

View File

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