From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uP4WABMtB2BSdgAA0tVLHw (envelope-from ) for ; Tue, 19 Jan 2021 19:03:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GPKBNxItB2CuYQAAB5/wlQ (envelope-from ) for ; Tue, 19 Jan 2021 19:03:46 +0000 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 99AF69403A6 for ; Tue, 19 Jan 2021 19:03:46 +0000 (UTC) Received: from localhost ([::1]:44146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1wI5-00043J-7a for larch@yhetil.org; Tue, 19 Jan 2021 14:03:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1viY-0004lV-Ci for guix-patches@gnu.org; Tue, 19 Jan 2021 13:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1viY-0000JK-3K for guix-patches@gnu.org; Tue, 19 Jan 2021 13:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l1viY-0005Tb-0A for guix-patches@gnu.org; Tue, 19 Jan 2021 13:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45989] [PATCH 1/2] gnu: python-invoke: Patch reference to bash. References: <20210119182257.15116-1-tanguy@bioneland.org> In-Reply-To: <20210119182257.15116-1-tanguy@bioneland.org> Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Jan 2021 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45989@debbugs.gnu.org Received: via spool by 45989-submit@debbugs.gnu.org id=B45989.161108076320944 (code B ref 45989); Tue, 19 Jan 2021 18:27:01 +0000 Received: (at 45989) by debbugs.gnu.org; 19 Jan 2021 18:26:03 +0000 Received: from localhost ([127.0.0.1]:51685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1vhb-0005Rk-CR for submit@debbugs.gnu.org; Tue, 19 Jan 2021 13:26:03 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:57337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1vha-0005Qp-9z for 45989@debbugs.gnu.org; Tue, 19 Jan 2021 13:26:02 -0500 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 7976BFF804; Tue, 19 Jan 2021 18:25:55 +0000 (UTC) From: Tanguy Le Carrour Date: Tue, 19 Jan 2021 19:25:41 +0100 Message-Id: <20210119182542.16812-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Cc: Tanguy Le Carrour Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 99AF69403A6 X-Spam-Score: 2.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: //dzBcxPjkJQ * gnu/packages/python-xyz.scm (python-invoke)[arguments]: Patch the reference to 'bash' in the source. [inputs]: Add bash. --- gnu/packages/python-xyz.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d08e23936c..de36222bba 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15129,7 +15129,19 @@ projects.") (build-system python-build-system) (arguments ;; XXX: Requires many dependencies that are not yet in Guix. - `(#:tests? #f)) + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-bash-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((bash (assoc-ref inputs "bash"))) + (substitute* "invoke/config.py" + (("shell = \"/bin/bash\"") + (string-append "shell = \"" bash "/bin/bash\"")) + ) + #t)))))) + (inputs + `(("bash" ,bash-minimal))) (synopsis "Pythonic task execution") (description "Invoke is a Python task execution tool and library, drawing inspiration -- 2.30.0