From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ICJNJcbIL2L8kAAAgWs5BA (envelope-from ) for ; Mon, 14 Mar 2022 23:59:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6Iu+IsbIL2IzfQEA9RJhRA (envelope-from ) for ; Mon, 14 Mar 2022 23:59:18 +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 2B51E3E225 for ; Mon, 14 Mar 2022 23:59:18 +0100 (CET) Received: from localhost ([::1]:54842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTtem-00015e-Vq for larch@yhetil.org; Mon, 14 Mar 2022 18:59:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTteZ-0000cH-7Q for guix-patches@gnu.org; Mon, 14 Mar 2022 18:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTteY-00054m-Uo for guix-patches@gnu.org; Mon, 14 Mar 2022 18:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTteY-00056j-Tc for guix-patches@gnu.org; Mon, 14 Mar 2022 18:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54394] [PATCH core-updates 07/12] gnu: gash-utils-boot: Create 'echo' wrapper. Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Mar 2022 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54394 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54394@debbugs.gnu.org Cc: Timothy Sample Received: via spool by 54394-submit@debbugs.gnu.org id=B54394.164729870019493 (code B ref 54394); Mon, 14 Mar 2022 22:59:02 +0000 Received: (at 54394) by debbugs.gnu.org; 14 Mar 2022 22:58:20 +0000 Received: from localhost ([127.0.0.1]:46891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTtds-00054K-Bu for submit@debbugs.gnu.org; Mon, 14 Mar 2022 18:58:20 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:39453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTtdq-00053w-AW for 54394@debbugs.gnu.org; Mon, 14 Mar 2022 18:58:18 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2E73F5C0237; Mon, 14 Mar 2022 18:58:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 14 Mar 2022 18:58:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KFHEmF jgzZt6UqWAfyfrCTZ80qGSbk6k/aWnL33WRdI=; b=K1HiAHEPsr5a4vwf0uQP0A zEWk/sW9Albsb/NarJO/s0Nz8fHfOXsqBLaanXkPsFzePOG6xYM5cyLiaM3H9kOW j22Z+ZizIHtEArUeh7NeKzKC51+8euoLXS65+z98td047OLsrRgL4H7G6JLTSQbQ ficlo0qU0Fw0Kki7Nyo8NHyHrLKWe7/HI5PCTkkOBJ7Gbnf1HfZ12If0HJKDvn07 frhQV7UfsbkAWfzzdG9cVCKlHNWYJww00Qw8DvnAgIYtv1wC6KOMIEaqePM1Xn5r mdmt2lWjweC6qz54pbkt/gG09mEj2qHNPeE3Vbj4d9i4dPhSBaPDG7BeLttj+m2g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddvledgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhimhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgvthes nhhghihrohdrtghomheqnecuggftrfgrthhtvghrnheptdevieffudevieeitdehieevie ethfegveelgeetveehvdffiedvffduuddukedunecuvehluhhsthgvrhfuihiivgepuden ucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Mar 2022 18:58:12 -0400 (EDT) From: Timothy Sample Date: Mon, 14 Mar 2022 16:57:06 -0600 Message-Id: <20220314225712.19869-7-samplet@ngyro.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <87v8wg40dl.fsf@ngyro.com> References: <87v8wg40dl.fsf@ngyro.com> 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: , 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=1647298758; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=KFHEmFjgzZt6UqWAfyfrCTZ80qGSbk6k/aWnL33WRdI=; b=LteSMyHvPTQCgQycnBdmAMS237S78e6tBQQr06ZCMmqqDSIbCGhtZ9slxZbAqeAFsX/9+s ogJr9+IffnXdHcPA66V+Ddi9uteXHlL9BmnJWIBs4xbZdYP5U5EroE92hP2pPSOIJxPGyc 6eoCiW1OkmV5exRxTrBRB4IswzfZAPYfbzf7DPt9d3Mt4E/Sc1Cpq6iWlUrBxyyZWQ9r4x XzJO1KaXKrLU+WMMDjEY0E4n4fHxXINYyh87uZuMdWWEYHr9Um4s/Lh4+bsCf6/q3FgoNG yTCLvarr1Z9apdEbtn+keezfcoaLdR9C+BYEMIRANWFgEwM/MHQAZgPSAZxlBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647298758; a=rsa-sha256; cv=none; b=oGuc/t3C6t4dOGgoEzINwfV5UA2bg/RsyBPfS2kIS4wlzGW6wxH3Lilz/BqxGjX5uCFGMC D3v12WnqAudHbvhuCRbNnaX3i8Qks7vRPEVnJDW6OdOuBtIpCTIzJBqaFT23b+JXHpf86a 9rGBGrQni4dP7laukZKzqdi1UkW7qjxEgbxRIdm2XvcAmOIOlg3pfcOVVxcVQchJugdJ+K 97VXj/NStOeus6tsA4FxHv0BR0VMX2gpDJQ4SDF2rzLDRFdWjbDBfuS4cvRPt3tXPvvmTp faCKzpdIItAxpplYIe7Hn093OBmKPh0FVKZxWpJqX+rUcGu3xR6CO/au6WlyiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=K1HiAHEP; 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: 0.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=K1HiAHEP; 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: 2B51E3E225 X-Spam-Score: 0.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: tZe5AkZbNI5z * gnu/packages/commencement.scm (gash-utils-boot)[arguments]: Add a phase that generates an external wrapper for Gash's 'echo' built-in. --- gnu/packages/commencement.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index e63c0b3437..df91f57b59 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -242,7 +242,19 @@ (define gash-utils-boot (copy-file (string-append gash-godir "/gash/compat.go") (string-append godir "/gash/compat.go")) (copy-recursively (string-append gash-godir "/gash/compat") - (string-append godir "/gash/compat"))))))))) + (string-append godir "/gash/compat"))))) + ;; We need an external echo. + (add-after 'install 'make-echo + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (gash (assoc-ref inputs "gash"))) + (with-output-to-file (string-append out "/bin/echo") + (lambda () + (display (string-append "#!" gash "/bin/gash\n")) + (newline) + (display "echo \"$@\"") + (newline))) + (chmod (string-append out "/bin/echo") #o755)))))))) (inputs `(("gash" ,gash-boot) ("guile" ,%bootstrap-guile))) (native-inputs `(("bootar" ,bootar))))) -- 2.34.0