From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AIwcL4vMW2MpzgAAbAwnHQ (envelope-from ) for ; Fri, 28 Oct 2022 14:35:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cEUCL4vMW2MDbwEA9RJhRA (envelope-from ) for ; Fri, 28 Oct 2022 14:35:23 +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 88084F039 for ; Fri, 28 Oct 2022 14:35:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooOZt-0001fq-HI; Fri, 28 Oct 2022 08:35:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooOUt-0005NB-EJ for guix-patches@gnu.org; Fri, 28 Oct 2022 08:30:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooOUs-0003kv-UE for guix-patches@gnu.org; Fri, 28 Oct 2022 08:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooOUs-0005zL-PH for guix-patches@gnu.org; Fri, 28 Oct 2022 08:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58834] [PATCH 3/3] gnu: bzip2: Fix script interpreters when cross-compiling. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Oct 2022 12:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58834 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58834@debbugs.gnu.org Received: via spool by 58834-submit@debbugs.gnu.org id=B58834.166696018822959 (code B ref 58834); Fri, 28 Oct 2022 12:30:02 +0000 Received: (at 58834) by debbugs.gnu.org; 28 Oct 2022 12:29:48 +0000 Received: from localhost ([127.0.0.1]:60576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooOUe-0005yF-Gb for submit@debbugs.gnu.org; Fri, 28 Oct 2022 08:29:48 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooOUV-0005xk-RY for 58834@debbugs.gnu.org; Fri, 28 Oct 2022 08:29:40 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 0C3B327BBEB for <58834@debbugs.gnu.org>; Fri, 28 Oct 2022 13:29:37 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 7a6d7235 for <58834@debbugs.gnu.org>; Fri, 28 Oct 2022 12:29:36 +0000 (UTC) From: Christopher Baines Date: Fri, 28 Oct 2022 13:29:36 +0100 Message-Id: <20221028122936.3717-3-mail@cbaines.net> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221028122936.3717-1-mail@cbaines.net> References: <20221028122936.3717-1-mail@cbaines.net> 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666960523; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=wX0/xI3ebuCK5B+sO0hAfyJlby/h7q+bsywVxE3CkZs=; b=rjs4ZT73fLs4QrFpZLVV4n8FMEUjox0EdrzDpLiWrZahpzEw1TJageXzX+V+WF/65YQCaz K9vI0QuvXHd37WWZpdf/JdnnoFHCvScfZthpPTtSLdeTTQybtO4DxFrBccxPSgfm2z49dX 7jA3TqaINNV4ggU8paDz5BfRl0T07f8A2zXt21YUBDBg6qJOLd2JViEEIAzxeUBtNHQ5jQ 05DI0tUlDG9ibxBZjeHvmolNH9FWFLjKbzEmVuhYsA0RcBw/JwSaWWamhPW2Zssk+qDjU6 GzEo88r97N6sNFZeZ/EBfnc8xCgRKs3x02g0wCdZY1B/Jfa5nA2AU6vxpey3Hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666960523; a=rsa-sha256; cv=none; b=bebs5AeEy35lC9mQbBIQwq0cWFX7Bt191jUrHr6t/1WROXJGZUOAUHSRXB6fXbtpz1zHfx yQhqFpS/yry8Wu60LY3Ea5TnlMenfle645DvlLNIL6p6VMRYDKPXtHtooGckdyPfUEkVZf +c1NJ7Lx0gbpOGtGRhI1Qi2oiPKMxFzSMq2fdoyWcqj2Ui54m0FzxmiD73Ml9T63/HjIUu Lsn9AZpp4+ufQUChg3kKcZd7i/qJdUu6vppO+GNLD4FLF0BsLn+zQBwOYqv3uHpSus6Dbc IiFXa51VC8KK8n/f1fbR1vdxIaWszpRivu+uz9wHV4lh8QAs5NChCuMsGXMulA== 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: -1.42 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: 88084F039 X-Spam-Score: -1.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: hrBhAH4qytbd Add bash-minimal as an input fixes the interpreters for various scripts (like bzdiff and bzgrep) when cross-compiling. * gnu/packages/compression.scm (bzip2)[inputs]: Add bash-minimal when cross compiling. --- gnu/packages/compression.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 672d5119be..857722ef4a 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -394,6 +394,10 @@ (define-public bzip2 ,@(if (%current-target-system) '(#:tests? #f) '()))) + (inputs + `(,@(if (%current-target-system) + `(("bash" ,bash-minimal)) + '()))) (outputs '("out" "static")) (synopsis "High-quality data compression program") (description -- 2.37.3