mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: btrfs-progs: Install bash completions.
* gnu/packages/linux.scm (btrfs-progs)[arguments]: Add 'install-bash-completion' phase.
This commit is contained in:
parent
ad0f92d028
commit
9a1c4a981b
1 changed files with 6 additions and 0 deletions
|
@ -3187,6 +3187,12 @@ (define-public btrfs-progs
|
|||
'(#:phases (modify-phases %standard-phases
|
||||
(add-after 'build 'build-static
|
||||
(lambda _ (zero? (system* "make" "static"))))
|
||||
(add-after 'install 'install-bash-completion
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(install-file "btrfs-completion"
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/etc/bash_completion.d"))
|
||||
#t))
|
||||
(add-after 'install 'install-static
|
||||
(let ((staticbin (string-append (assoc-ref %outputs "static")
|
||||
"/bin")))
|
||||
|
|
Loading…
Reference in a new issue