gnu: podman: Install shell completions.
* gnu/packages/containers.scm (podman)[arguments]: Add 'install-completions phase to install shell completions. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
6ff5b79804
commit
4723d7a452
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com>
|
;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com>
|
||||||
;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
||||||
|
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -323,7 +324,11 @@ configure network interfaces in Linux containers.")
|
||||||
(("/usr/local/libexec/cni")
|
(("/usr/local/libexec/cni")
|
||||||
(string-append #$(this-package-input "cni-plugins")
|
(string-append #$(this-package-input "cni-plugins")
|
||||||
"/bin"))
|
"/bin"))
|
||||||
(("/usr/bin/crun") (which "crun"))))))))
|
(("/usr/bin/crun") (which "crun")))))
|
||||||
|
(add-after 'install 'install-completions
|
||||||
|
(lambda _
|
||||||
|
(invoke "make" "install.completions"
|
||||||
|
(string-append "PREFIX=" #$output)))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list btrfs-progs
|
(list btrfs-progs
|
||||||
cni-plugins
|
cni-plugins
|
||||||
|
|
Reference in New Issue