~ruther/guix-local

dd3a42e6244ff2c256430cfa5c7689c0cfd81511 — Mark H Weaver 11 years ago 54b76b6
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.
1 files changed, 3 insertions(+), 0 deletions(-)

M gnu/packages/package-management.scm
M gnu/packages/package-management.scm => gnu/packages/package-management.scm +3 -0
@@ 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")))