me
/
guix
Archived
1
0
Fork 0

gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.

* gnu/packages/linux.scm (util-linux)[arguments]: Pass
  --with-bashcompletiondir.
master
Ludovic Courtès 2015-04-05 23:18:19 +02:00
parent dacd5d2ca7
commit 29ec55ee27
1 changed files with 8 additions and 2 deletions

View File

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