From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aHybKlz2IWNcWwAAbAwnHQ (envelope-from ) for ; Wed, 14 Sep 2022 17:42:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uJvmKVz2IWNMSAAAG6o9tA (envelope-from ) for ; Wed, 14 Sep 2022 17:42:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4709C2D6A2 for ; Wed, 14 Sep 2022 17:42:20 +0200 (CEST) Received: from localhost ([::1]:54960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYUWo-0001wb-Pm for larch@yhetil.org; Wed, 14 Sep 2022 11:42:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYUWZ-0001wO-Dn for guix-patches@gnu.org; Wed, 14 Sep 2022 11:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYUWZ-0000Dt-3v for guix-patches@gnu.org; Wed, 14 Sep 2022 11:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYUWY-0003pd-Hj for guix-patches@gnu.org; Wed, 14 Sep 2022 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57805] [PATCH] gnu: podman: Install shell completions. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Sep 2022 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57805 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57805@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166317007114657 (code B ref -1); Wed, 14 Sep 2022 15:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2022 15:41:11 +0000 Received: from localhost ([127.0.0.1]:55827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYUVi-0003oK-Md for submit@debbugs.gnu.org; Wed, 14 Sep 2022 11:41:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:35638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYUVd-0003o9-VN for submit@debbugs.gnu.org; Wed, 14 Sep 2022 11:41:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYUVd-0001rG-Q5 for guix-patches@gnu.org; Wed, 14 Sep 2022 11:41:05 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:60274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYUVZ-0008Uv-4O for guix-patches@gnu.org; Wed, 14 Sep 2022 11:41:05 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1oYUVW-00065J-E4; Wed, 14 Sep 2022 17:40:58 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.95) (envelope-from ) id 1oYUVV-0008g3-4I; Wed, 14 Sep 2022 17:40:58 +0200 From: Michael Rohleder Date: Wed, 14 Sep 2022 17:40:57 +0200 Message-Id: <20220914154057.28547-1-mike@rohleder.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1663170061;3bc18e54; X-HE-SMSGID: 1oYUVW-00065J-E4 Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663170140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=JOrwGDBEuJFm3YKNTg1cTSqFDInOUA2N0YtgCV9EHqw=; b=nleniqbm5Y02ZWskIlrudX4aF4snmw6xD8JOEXi6zf2aZ0CvpJl6tyqtQaTUh45RzttGaz 6sY6X/kkjAKCk743tHWpQZ0S0HAyqxKoJTQ0I3ZnFHdc235MMPM4MN/FjcpRCl/xi77gPA A5e3jHMmmpKZJiDMMODVpn9Ws4ePaJ2UYlwCa8o5XgMpNSp3Ydj5Zojti2nmOpi3YdNT6B G+F7x3XbD6o4GD3GAh0mzWe+nfEA8utrz/97tQ8TclC5CNW4HhVqSjXwoFt7kzWG9aY1VG /AI7eQPPli5EinqNEHJeEkL3XGT4fvt23LBnreNwPHG/142VDxt+uFt1oCXxMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663170140; a=rsa-sha256; cv=none; b=AUX9CwjxSoIzeLV6llCTvnJZztHIgf5WBlzz0r9FnjvQ0wtSX7xoaIiJVp2vPJsnPOUcA6 a9cIXSyz3A/6vuvpgFCsg9MGXlt8aQJbNVWAXFzLa5PyHcUjt4hHAAy00IHzSnwPlYE+sx NHkUphch0roG2nB5AxXUsS8stWhUKOl6Zc/Znay+qPkBgCyHa5inC5e9blTFHTEtY16ZnO sHrYZLfsQAIQb1MJIRLt2Vf6QyaIdPZndWVF4zT5aAkE4avwx2X++olCFtH9aM7cEZ9LUh R5GaJcaHSu8gyxATEgu7COPEvO0qmI1hvKhvtXmb2PMsRvFLfIoKsc0R5/hryA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4709C2D6A2 X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: in80/oi6xzP5 * 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 ;;; Copyright © 2022 Tobias Geerinckx-Rice ;;; Copyright © 2022 Zhu Zihao +;;; Copyright © 2022 Michael Rohleder ;;; ;;; 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