gnu: xfconf: Install bash completion.
* gnu/packages/xfce.scm (xfconf)[arguments]: Add install-shell-completions phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d08a292ad8
commit
e13f90580c
1 changed files with 7 additions and 0 deletions
|
@ -155,6 +155,13 @@ Xfce Desktop Environment.")
|
||||||
;; For the missing '/etc/machine-id'.
|
;; For the missing '/etc/machine-id'.
|
||||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||||
(invoke "dbus-launch" "make" "check")))
|
(invoke "dbus-launch" "make" "check")))
|
||||||
|
(add-after 'custom-check 'install-shell-completions
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(etc (string-append out "/etc")))
|
||||||
|
(with-directory-excursion "completions"
|
||||||
|
(install-file "xfconf-query"
|
||||||
|
(string-append etc "/bash_completion.d"))))))
|
||||||
(delete 'check))))
|
(delete 'check))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
|
|
Reference in a new issue