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:
Ludovic Courtès 2015-04-05 23:18:19 +02:00
parent dacd5d2ca7
commit 29ec55ee27

View file

@ -402,8 +402,14 @@ (define-public util-linux
(("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)