aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/docker.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-12 04:10:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-12-12 04:10:59 +0200
commitc9e676d0b141f510c19e26edb1e6fad079b9b502 (patch)
tree79abb4a4b92ecf4504a46e55ffa7971a06c8a5df /gnu/packages/docker.scm
parentd45720d8b456e82380601d77e25bd05c6e0dc36a (diff)
parentdcb7ce500bd025455982d74c3384c707f35bbb46 (diff)
downloadpatches-c9e676d0b141f510c19e26edb1e6fad079b9b502.tar
patches-c9e676d0b141f510c19e26edb1e6fad079b9b502.tar.gz
Merge remote-tracking branch 'origin/master' into core-updates
Diffstat (limited to 'gnu/packages/docker.scm')
-rw-r--r--gnu/packages/docker.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index 70d2062448..948cc30cf6 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -617,7 +617,15 @@ provisioning etc.")
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (out-bin (string-append out "/bin")))
+ (out-bin (string-append out "/bin"))
+ (etc (string-append out "/etc")))
+ (with-directory-excursion "src/github.com/docker/cli/contrib/completion"
+ (install-file "bash/docker"
+ (string-append etc "/bash_completion.d"))
+ (install-file "fish/docker.fish"
+ (string-append etc "/fish/completions"))
+ (install-file "zsh/_docker"
+ (string-append etc "/zsh/site-functions")))
(chdir "build")
(install-file "docker" out-bin)
#t))))))