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 cGepLqbMW2O+eQEAbAwnHQ (envelope-from ) for ; Fri, 28 Oct 2022 14:35:50 +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 IMOULabMW2N6YwEAG6o9tA (envelope-from ) for ; Fri, 28 Oct 2022 14:35:50 +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 7B1051DCF6 for ; Fri, 28 Oct 2022 14:35:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooOZu-0001pz-W3; Fri, 28 Oct 2022 08:35:15 -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 1ooOUs-0005N7-M2 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-0003kn-E7 for guix-patches@gnu.org; Fri, 28 Oct 2022 08:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooOUs-0005zD-8j for guix-patches@gnu.org; Fri, 28 Oct 2022 08:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58834] [PATCH 2/3] gnu: xz: 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.166696018022943 (code B ref 58834); Fri, 28 Oct 2022 12:30:02 +0000 Received: (at 58834) by debbugs.gnu.org; 28 Oct 2022 12:29:40 +0000 Received: from localhost ([127.0.0.1]:60574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooOUW-0005xo-4G for submit@debbugs.gnu.org; Fri, 28 Oct 2022 08:29:40 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooOUV-0005xY-2K for 58834@debbugs.gnu.org; Fri, 28 Oct 2022 08:29:39 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 02DBC27BBEA 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 12398902 for <58834@debbugs.gnu.org>; Fri, 28 Oct 2022 12:29:36 +0000 (UTC) From: Christopher Baines Date: Fri, 28 Oct 2022 13:29:35 +0100 Message-Id: <20221028122936.3717-2-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=1666960550; 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=FZcN1z9opf6h+fPBoOoUefPBrtqw09PCE3m6v6E9vSU=; b=LB5RuvLcOtIeGFmZtIe/V9TTttj59vhMyqeIZuuHVvQmzYxAiFachLgWbgHmPnACivxRVZ qs9iXi4Ur/IMCltHAeZuFeXHW27ezvM1UQtAQs+NgN+1CuOGHd17NzY2JLf1FooDJh5nl3 sN3Bp3+b729EGg9jzpfYrGrrC/D77+WrQh+wiY4GOJb3nQ71NjCWaPBrrNs04fSer1nYzW J/K+3iZTTW8PUXxPSNy2thp/XWif0qJXPprFSkzTxsJCtZzSWgr1uCFn3WuBMLUmxw7IP3 SjLHX7KvLUFhIdUgEAl6wCfvt2X3L/tkiG9lSTHcajW5XFkE5g4o1+IBvusC9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666960550; a=rsa-sha256; cv=none; b=pK4Rac3PQ+gzVEh9KFqZN03kLrPlEbks6SGrdiFMDP+CJV9WRRqrsOPFLp0pxBVmqYmRLQ IZho6AzpSxhaT7Y/VkDKu1raIp9SPb96i/kAzUVKDUqNCSCTzvqr2g/SLjxKU01LPyo/zF YjOvi1S9BXhHfkDMW8iMrfs9KRFUMm0SPEtwYFDeZqD0ZAE4IhiPzcnCKB5WSlCWiRMy2N yRT9Xhw+iGFoRSlfaO0HtttN3iv/w7rLqJeLaV4voc8o6yWLnseMUGi1SMZTDMP3UEtIZQ 0fIxg23gPt+C/0nkT/S+jkwEOCFp+1gK/I4qH+hjcrFZo6cxDYZDdDOcDPZ6Xw== 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.72 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: 7B1051DCF6 X-Spam-Score: -2.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: anbUcfgLZbGT Add bash-minimal as an input fixes the interpreters for various scripts (like xzgrep and xzless) when cross-compiling. * gnu/packages/compression.scm (xz)[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 b3a678480d..672d5119be 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -529,6 +529,10 @@ (define-public xz (("^old_library='liblzma.a'") "old_library=''")) #t)))))) (outputs '("out" "static")) + (inputs + `(,@(if (%current-target-system) + `(("bash" ,bash-minimal)) + '()))) (synopsis "General-purpose data compression") (description "XZ Utils is free general-purpose data compression software with high -- 2.37.3