mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: megatools: Install bash completion.
* gnu/packages/sync.scm (megatools)[arguments]: Add custom phase to install bash completion file.
This commit is contained in:
parent
9f17068241
commit
773ba8aec1
1 changed files with 9 additions and 0 deletions
|
@ -118,6 +118,15 @@ (define-public megatools
|
|||
(base32
|
||||
"1nwbalc54iz6616liyxfalf5yafwx0iv6cmqgvg4kz9khqscmhcd"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-completions
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(install-file "contrib/bash-completion/megatools"
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/etc/bash_completion.d"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
;; For documentation
|
||||
|
|
Loading…
Reference in a new issue