diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-08-13 19:21:53 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-08-13 19:21:53 +0300 |
commit | 773ba8aec1379c13b8e2fc67f57b751828c8a966 (patch) | |
tree | 314c1052924d5d8ff544ae29a4e080a626bb7a15 /gnu | |
parent | 9f17068241a79af56611542a8833ab24221d0eab (diff) | |
download | guix-773ba8aec1379c13b8e2fc67f57b751828c8a966.tar.gz |
gnu: megatools: Install bash completion.
* gnu/packages/sync.scm (megatools)[arguments]: Add custom phase to install bash completion file.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/sync.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 1207acdaae..b92848e80b 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -118,6 +118,15 @@ distributions.") (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 |