mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass --with-bashcompletiondir.
This commit is contained in:
parent
dacd5d2ca7
commit
29ec55ee27
1 changed files with 8 additions and 2 deletions
|
@ -402,8 +402,14 @@ (define-public util-linux
|
||||||
(("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 a new issue