guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/11: gnu: guix: Don't install in /etc/bash_completion.d within build e


From: ???
Subject: 01/11: gnu: guix: Don't install in /etc/bash_completion.d within build environment.
Date: Wed, 22 Apr 2015 01:58:46 +0000

iyzsong pushed a commit to branch wip-glib
in repository guix.

commit 3a5bce15d95d67810e5adebcb445247cc3f5fd1b
Author: Mark H Weaver <address@hidden>
Date:   Tue Apr 21 11:43:57 2015 -0400

    gnu: guix: Don't install in /etc/bash_completion.d within build environment.
    
    Fixes <http://bugs.gnu.org/20394>.
    Patch by Ludovic Courtès <address@hidden>.
    
    * gnu/packages/package-management.scm (guix)[arguments]: Pass
      "--with-bash-completion-dir" option to configure.
---
 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 131cbcd..5340d42 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]