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 ms0.migadu.com with LMTPS id cOqMCYIP92EdMQAAgWs5BA (envelope-from ) for ; Sun, 30 Jan 2022 23:21:54 +0100 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 KDP9BoIP92GFRwEA9RJhRA (envelope-from ) for ; Sun, 30 Jan 2022 23:21:54 +0100 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 D991036EE7 for ; Sun, 30 Jan 2022 23:21:53 +0100 (CET) Received: from localhost ([::1]:46360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEIa0-0001Ol-8p for larch@yhetil.org; Sun, 30 Jan 2022 17:21:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEIZO-0001OX-1O for guix-patches@gnu.org; Sun, 30 Jan 2022 17:21:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEIZC-0000jM-4L for guix-patches@gnu.org; Sun, 30 Jan 2022 17:21:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEIZB-0002pJ-Ql for guix-patches@gnu.org; Sun, 30 Jan 2022 17:21:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53643] [PATCH] Gnu: Elixir: Use previous method for detecting sh Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jan 2022 22:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Hamelink , 53643@debbugs.gnu.org Received: via spool by 53643-submit@debbugs.gnu.org id=B53643.164358125110827 (code B ref 53643); Sun, 30 Jan 2022 22:21:01 +0000 Received: (at 53643) by debbugs.gnu.org; 30 Jan 2022 22:20:51 +0000 Received: from localhost ([127.0.0.1]:37923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIZ0-0002oZ-LE for submit@debbugs.gnu.org; Sun, 30 Jan 2022 17:20:50 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:50756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIYv-0002oK-SZ for 53643@debbugs.gnu.org; Sun, 30 Jan 2022 17:20:49 -0500 Received: from [172.20.10.5] ([213.119.234.37]) by laurent.telenet-ops.be with bizsmtp id pALi2600J0p50rZ01ALj8J; Sun, 30 Jan 2022 23:20:44 +0100 Message-ID: <1cfa84a32e79af82e0c57bfe11e4601a1db76880.camel@telenet.be> From: Maxime Devos Date: Sun, 30 Jan 2022 23:20:38 +0100 In-Reply-To: <878ruwexe3.fsf@johnhame.link> References: <878ruwexe3.fsf@johnhame.link> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-omfIz+OfvYskZJB/4VjS" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1643581244; bh=FDDnnbqZqZb2ay46ppWJsadloTZhIzBjR2Av3bz4LRg=; h=Subject:From:To:Date:In-Reply-To:References; b=WUm0hWi2kD9Dhb/0V1lktYDDYc5IHwjQEKQ4bj0EI8cJYguqzQjUwaBrN6eigEzPz 1VuTesSbs/xDcFRqa/Xt4qmgth0WTAphCtNhrVB16hagHogKlApgXsc2lM6HQ69V7+ nUmKNVbj7j0NCDTM1QOAVQhgRhOKJkvpnG0DeidPJ3fwcuhL0gpKtTaHMKsTRWRCK+ Z88KFwg3nE/xGzM15ZZVIhMxbjRuTS+9Kj2drLB9bwYnVhHGln4+6MO1u2ioCpexW7 0gY4oIGEbtUy6+5Xa8zItg8F4lNUegLri5Fs6HK+iwaSx88exu0UQQJYriPljF+8C7 Iv9DXSe6Nt8FQ== 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643581313; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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: dkim-signature; bh=FDDnnbqZqZb2ay46ppWJsadloTZhIzBjR2Av3bz4LRg=; b=DacmYrnWNnSeD+tl+O3sFirS1rzaLdKF+ThFLSyWyD6NIfd8G+tZcKjsJwqD3fOs81/VVr U3/fSNdUGOqh4bQOxWnU4LZGH+6VOiPWLp7qR4pzWxt7igJXvSWKTkHzoL0VzpiwiUhsdW 3D4gl6T1/2KNFPIRTBVzJ+JP8I4XMrpfpxu81fv9QTsMXijp2Mnj9pFNLwLErH2KtOAfXA 47j61fQZO8TRULHntdJJuK8Do+wp8CGpp3JltHTUVwR5r1bhswhetKBRvAl6VSsYr20tll Mwui9/WUFf5I4DwHeRjjJWh0ikX8yZ7ufkPcuZZ4vqdwQnLVImd6qAEVY091Yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643581313; a=rsa-sha256; cv=none; b=aTzTiGAHImjxx3T0XMHwK/aM+dQpwKa63zAmxCUbRnv466pnF+Foc/SAvMllngch3xMH8f fy5naHUm/5MY8YWUjepf+cBAerB0n7xLb/jx0isx/WxFK3GBzpkKIAfBhWG+Ky4ZfmmMCt SjCZnvM70HZTUfWh0u0ozSGgVYmW04REs+wSVqmL+SndNeJdKOFoJ0W7ABh3olzEOFQmN/ 5tZGxY/7vXq7R61xGsWQoOsTfXff+ZlV/5lQqHqOkYgylQAKrEJB+mmA5+owFafvBWAHoS GlwaNKzFgsdNpSE97UUtIyb5No1QmzT5J+NcJz7LRAcz1Erv7KkC+DkpCWt/wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WUm0hWi2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WUm0hWi2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: D991036EE7 X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5tMwZVAXiC+o --=-omfIz+OfvYskZJB/4VjS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Hamelink schreef op zo 30-01-2022 om 21:15 [+0000]: > - (string-append "#!" (search-input-file inputs "sh")))) > + (string-append "#!" (which "sh")))) 'which' looks in $PATH, which is formed by native-inputs, so this change is incorrect when cross-compiling. Instead, I suggest: - (string-append "#!" (search-input-file inputs "sh")))) + (string-append "#!" (search-input-file inputs "bin/sh")))) Greetings, Maxime. --=-omfIz+OfvYskZJB/4VjS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYfcPNhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7p7cAP4irrzsl+sdH1nvAcS3U5wMAg1F lKJlLWFbRVDM0fhmWAD/RuhYk0gQ58PxNARynOPeOHvMVAud/zVL1+u1YR42eQY= =ex28 -----END PGP SIGNATURE----- --=-omfIz+OfvYskZJB/4VjS--