From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 AM97BfzjRmINrwAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 13:37:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sGkqAvzjRmLPUQEAauVa8A (envelope-from ) for ; Fri, 01 Apr 2022 13:37:32 +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 B42AD2E52D for ; Fri, 1 Apr 2022 13:37:31 +0200 (CEST) Received: from localhost ([::1]:33944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naFas-0007NA-FV for larch@yhetil.org; Fri, 01 Apr 2022 07:37:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naEU8-00066y-35 for guix-devel@gnu.org; Fri, 01 Apr 2022 06:26:28 -0400 Received: from out3.mail.ruhr-uni-bochum.de ([134.147.53.155]:13005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naEU4-0000iq-Av; Fri, 01 Apr 2022 06:26:27 -0400 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4KVGY13dT3z8TDx; Fri, 1 Apr 2022 12:26:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1648808773; bh=Lcc33qaM3KumEnGG62VcUFJhaH6DjglIFKZv8T3hq0g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=l1MMC+gzdTT1HVZkojgFYz38A8pqxjmxqAzP/lJq8bYfzVMIj1/0AOLESFG9Pxf0p 6o3/PXe7y5jtCqKVMe6TqxOfeQLzokhFe+gEIEdOGK+cplJmNg7mc8vuOYXXmDmKm4 9DmkNaxONQXbXLbyzuTpDjFv4SeEots/dq2+v+ow= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4KVGY12yvkz8TDd; Fri, 1 Apr 2022 12:26:13 +0200 (CEST) X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4KVGY11TQWz8TDw; Fri, 1 Apr 2022 12:26:13 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx3.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4KVGY0632vzDh0m; Fri, 1 Apr 2022 12:26:12 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de From: =?utf-8?Q?Daniel_Mei=C3=9Fner?= To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , guix-devel@gnu.org Subject: Re: Deprecating legacy build phase style when cross-compiling vs. native References: <874k3fh3m8.fsf@jpoiret.xyz> <87tubdnplq.fsf@gnu.org> Date: Fri, 01 Apr 2022 12:26:12 +0200 In-Reply-To: <87tubdnplq.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 01 Apr 2022 11:02:25 +0200") Message-ID: <87a6d53xrv.fsf@ruhr-uni-bochum.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=134.147.53.155; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out3.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 01 Apr 2022 07:36:16 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1648813051; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=x94krv1N23ce09LFB+Yorsq7DA83tpiv/A04byVPxYA=; b=hSoucgMj+D6txEI0DQ9Q4W5rdnW6DnBeN1LRtNlnNIOvRUx+M9ZWAJY3fXiXlvv5uWHV/V 5IjSf1RdJ9kAplg+pBi4E1Cw+QUiG/pGzso/eZ9rqOqvk8wRgBA3Ned1lGumOCqoArEoIm 6CvvcbXf0nQqXWjUWT9sqBbObRJ+2KynSUhtyi2N0sHbLths79QqvKSQPXREfWzFnYxLm+ DMbgpkB66eDtL6LjRGg0bC1YsVZWfAA+jqvYWZGoZhQwSRJEejpw/tvsbhh8/mPdOhwBb+ JUWmKWgSTTgEIssMnCqrrAbPh4O26gFbd+KY5snF5NudYtfSEvbUd0eVGs9XJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648813051; a=rsa-sha256; cv=none; b=FjN3dVGi9ktwENKt0JeC+5Gc6+bYcgKlthyAAv1LAMmpRCpG1IQtOZF3cujSZntqIV4hbF r/jFbHb9Hi19xs4T4kVz/kVlrewNFmgwuPHla5zD7m3o2janSHV4aq2I43E0vnCdWD5e9B bPNpSb9p5HeS+f8WF7pHnkHqbsgkwU/8Bu4W591npKZ0HAVHUF09L5Ct+u4MqL8jF2w3It LRFM+HJWt4dBxZWVhazkpaRFpBqia1x1e9oMks2QlntTbGftzi6wr5urB6zAIPU9ZI+FhL CFmsUXZYB8WOdedgli5ws/UQW0iiklmKGatJsqTl7mzy9koFOdmydHAFU5MPaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=l1MMC+gz; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.67 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=l1MMC+gz; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B42AD2E52D X-Spam-Score: -9.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: H9qADVAWdjL3 Hi, Ludovic Court=C3=A8s writes: > The easiest change is to replace: > > %output > > with: > > (assoc-ref %outputs "out") > > It=E2=80=99s a simple search-and-replace. > > The next step would be to use gexps and #$output, but that can be done > incrementally over time IMO. I have a patch in that direction sitting on https://issues.guix.gnu.org/54641 and I am wondering if this is the style that you=E2=80=99re proposing as the next step. If so, I could provi= de some more patches for other packages as well. I am also wondering: How are multiple outputs handled with gexps and #$output? Best -- Daniel