gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass --with-bashcompletiondir.master
parent
dacd5d2ca7
commit
29ec55ee27
|
@ -402,8 +402,14 @@ providing the system administrator with some help in common tasks.")
|
||||||
(("build_kill=yes") "build_kill=no")))))
|
(("build_kill=yes") "build_kill=no")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--disable-use-tty-group"
|
`(#:configure-flags (list "--disable-use-tty-group"
|
||||||
"--enable-ddate")
|
"--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
|
#:phases (alist-cons-before
|
||||||
'check 'pre-check
|
'check 'pre-check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue