[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: util-linux: Install Bash completions under 'etc/bash_complet
From: |
Ludovic Courtès |
Subject: |
01/02: gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'. |
Date: |
Sun, 05 Apr 2015 22:18:30 +0000 |
civodul pushed a commit to branch core-updates
in repository guix.
commit 29ec55ee27f9127eacc9432741998e585564468e
Author: Ludovic Courtès <address@hidden>
Date: Sun Apr 5 23:18:19 2015 +0200
gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass
--with-bashcompletiondir.
---
gnu/packages/linux.scm | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c48fefa..826a731 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -402,8 +402,14 @@ providing the system administrator with some help in
common tasks.")
(("build_kill=yes") "build_kill=no")))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--disable-use-tty-group"
- "--enable-ddate")
+ `(#:configure-flags (list "--disable-use-tty-group"
+ "--enable-ddate"
+
+ ;; Install completions where our
+ ;; bash-completion package expects them.
+ (string-append "--with-bashcompletiondir="
+ (assoc-ref %outputs "out")
+ "/etc/bash_completion.d"))
#:phases (alist-cons-before
'check 'pre-check
(lambda* (#:key inputs outputs #:allow-other-keys)