~ruther/guix-local

9a1c4a981bdd7eeca76aaf73a57d6841918821c2 — Marius Bakke 8 years ago ad0f92d
gnu: btrfs-progs: Install bash completions.

* gnu/packages/linux.scm (btrfs-progs)[arguments]: Add
'install-bash-completion' phase.
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +6 -0
@@ 3187,6 3187,12 @@ and copy/paste text in the console and in xterm.")
     '(#: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")))