From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GP4iCJC+62JEBgAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 14:41:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sE86B5C+62IW+gAAG6o9tA (envelope-from ) for ; Thu, 04 Aug 2022 14:41:52 +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 A6F9044A03 for ; Thu, 4 Aug 2022 14:41:51 +0200 (CEST) Received: from localhost ([::1]:48366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJaAg-00019S-Qy for larch@yhetil.org; Thu, 04 Aug 2022 08:41:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJZZ9-0003V4-6J for guix-patches@gnu.org; Thu, 04 Aug 2022 08:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJZZ8-0005fh-6J for guix-patches@gnu.org; Thu, 04 Aug 2022 08:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJZZ8-0007Pf-1G for guix-patches@gnu.org; Thu, 04 Aug 2022 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56224] [PATCH] guix: utils: Add as-for-target. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Aug 2022 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56224 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 56224@debbugs.gnu.org Received: via spool by 56224-submit@debbugs.gnu.org id=B56224.165961456228469 (code B ref 56224); Thu, 04 Aug 2022 12:03:01 +0000 Received: (at 56224) by debbugs.gnu.org; 4 Aug 2022 12:02:42 +0000 Received: from localhost ([127.0.0.1]:51486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJZYn-0007P7-Rl for submit@debbugs.gnu.org; Thu, 04 Aug 2022 08:02:42 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:44074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJZYk-0007Os-JF for 56224@debbugs.gnu.org; Thu, 04 Aug 2022 08:02:41 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4Lz6mQ6m3Lz9sQj; Thu, 4 Aug 2022 14:02:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1659614550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o1sxy4JExg4uZFaNAH5Uiw6XGCJEp3ZAgAaBUJvqoC8=; b=X5FAUZC5uNY6i1nxj/txaEpLJRyS6wvDv59xuItXhm6AtQlPxMo+jgSeRHavqsr2uZPYX1 nBC9ONUj3BUrUDugcM4sFOPTa/bd7TxEZgCrcn8EpDvWdZHEmU0YEqU5T2zdVOHnPVnF7S QNIOEVu9fUTGScbL5e2e+l65UwDzfPLkm/6NoAfoO7kA0LN+xAfj3IQd39tybwNrIe63zi VNaGz6uKWLn0i/C+4EMHRX8MGxXnfT9yE4qF+G3Q0DaXZGXb6/FuqS+6h8AhtgqDH94OuG oXgQ/jVewJKP4uwXBZGVhE8pgFcrIoNgVk9aNXrrW9whQyIS6vQ4wPJYKt/IZg== Date: Thu, 4 Aug 2022 08:02:30 -0400 (EDT) Message-ID: <1316727699.6232.1659614550379@office.mailbox.org> In-Reply-To: <87tu6snzhz.fsf@gnu.org> References: <20220625213032.2043-1-antero@mailbox.org> <87tu6snzhz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-MBO-RS-META: 4es9su3m4kmjgw1usigy9orp4ktppw81 X-MBO-RS-ID: 627bd3e90ea84fcad56 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" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via 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=1659616911; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=o1sxy4JExg4uZFaNAH5Uiw6XGCJEp3ZAgAaBUJvqoC8=; b=HJbbav0ECQoizForRdSyrD/LMuDc+rMvsxzBoaqnhx5cOczz6xMuNZm+g+zvdQMxn71P2e gvIC1QRYyKqlNf5bf/lEhzJdd1K/8rRmnuqq1UVYtCB2jQrdN15NxkIqIiLVjW7DIBBLJ/ /MNHFn8y0qvxdmZ/U+Rew4VdMS70+g+s4yUw2SDA6pDER8U1EzrI87j0VRCAYjAO7OC6RZ mhTCnJ5yB3BArgTnbqufnV5KIkefsz2+TYhSFcIo9foq3+S3+pPLj1mT2e7NpzIIgCGpg/ /Z4uH3hW6oCGkCJuwD1B9N/eP38NeFh+7PbStS3hoLXeI5StAqIzpev9r+BAyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659616911; a=rsa-sha256; cv=none; b=b1MbLge+NgqV8he3vTEWO/Hk5YRVkUnLendcdZrRQlmDRmSkT5VhXVk/Jk4zfKuZTy7k5E fa2Zw2Rx7zmtLAm53sd2p7Xdoc5efJF3kPoM4slQgws0ZkRT6oJ8+fW6rirSJSjKBJa4tk kO5aAnWyiruA79hs3O30F6ZTAx+IzRkOPGmKLnKvPT6hGwJixNZSZ6ctp/m6znL+ihzpcV QprRMr+x4Mwm2voXHJDamdCZdjExzLkvim2F7ughBBOOybCNcLFs2me3SkdHjJD84mJpEJ B0IKzn1vC8kp/k/DYpAoqbEPOS+ZfADrrVAL0UVApsVhX9r2VhWeSr8/8ivI3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=X5FAUZC5; dmarc=pass (policy=none) header.from=gnu.org; 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.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=X5FAUZC5; dmarc=pass (policy=none) header.from=gnu.org; 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: A6F9044A03 X-Spam-Score: -1.71 X-Migadu-Scanner: scn1.migadu.com X-TUID: wbOohZ18doDN =20 =20
=20
Yes, the hare programming language compiler package uses as-for-target.= That package is a work in progress:
=20
https://issues.guix.gnu.org/55606
=20
 
=20
as-for-target is also mentioned in a comment in rasperrypi.scm, in the = raspi-arm64-chainloader package.
=20
 
=20
Thanks,
=20
Antero
=20
=20
=20
On 08/04/2022 5:12 AM EDT Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
=20
 
=20
 
=20
Hi Antero,
=20
 
=20
Antero Mejr <antero@mailbox.or= g> skribis:
=20
 
=20
=20
* guix/utils.scm (as-for-target): New function.
=20
=20
Out of curiosity, did you encounter packages needing it? (That hasn=E2= =80=99t
=20
been the case so far but maybe we were just lucky.)
=20
 
=20
Thanks,
=20
Ludo=E2=80=99.
=20