diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-09-14 15:30:02 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-09-20 17:15:37 +0200 |
commit | 9a1c4a981bdd7eeca76aaf73a57d6841918821c2 (patch) | |
tree | de8bab2139e3365c355a5d09fad8f161192b6c83 /gnu/packages | |
parent | ad0f92d0281b49f87f8cfc480990b4922a22ce0f (diff) | |
download | guix-9a1c4a981bdd7eeca76aaf73a57d6841918821c2.tar.gz |
gnu: btrfs-progs: Install bash completions.
* gnu/packages/linux.scm (btrfs-progs)[arguments]: Add 'install-bash-completion' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/linux.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4761521b8e..8a69f0d9c7 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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"))) |