all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57805] [PATCH] gnu: podman: Install shell completions.
@ 2022-09-14 15:40 Michael Rohleder
  2022-09-14 21:27 ` bug#57805: " Ludovic Courtès
  2022-09-14 21:36 ` [bug#57805] " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Rohleder @ 2022-09-14 15:40 UTC (permalink / raw)
  To: 57805; +Cc: Michael Rohleder

* gnu/packages/containers.scm (podman)[arguments]: Add 'install-completions
phase to install shell completions.
---
 gnu/packages/containers.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 1f962ddfd6..029f0d4ba4 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com>
 ;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -323,7 +324,11 @@ (define-public podman
                 (("/usr/local/libexec/cni")
                  (string-append #$(this-package-input "cni-plugins")
                                 "/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
      (list btrfs-progs
            cni-plugins
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-14 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14 15:40 [bug#57805] [PATCH] gnu: podman: Install shell completions Michael Rohleder
2022-09-14 21:27 ` bug#57805: " Ludovic Courtès
2022-09-14 21:36 ` [bug#57805] " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.