From: Michael Rohleder <mike@rohleder.de>
To: 57805@debbugs.gnu.org
Cc: Michael Rohleder <mike@rohleder.de>
Subject: [bug#57805] [PATCH] gnu: podman: Install shell completions.
Date: Wed, 14 Sep 2022 17:40:57 +0200 [thread overview]
Message-ID: <20220914154057.28547-1-mike@rohleder.de> (raw)
* 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
next reply other threads:[~2022-09-14 15:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 15:40 Michael Rohleder [this message]
2022-09-14 21:27 ` bug#57805: [PATCH] gnu: podman: Install shell completions Ludovic Courtès
2022-09-14 21:36 ` [bug#57805] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220914154057.28547-1-mike@rohleder.de \
--to=mike@rohleder.de \
--cc=57805@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).