From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id v4+DGutr9GDWcQEAgWs5BA (envelope-from ) for ; Sun, 18 Jul 2021 19:59:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gGGLFetr9GDPbwAAbx9fmQ (envelope-from ) for ; Sun, 18 Jul 2021 17:59:07 +0000 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 DCF9E73E0 for ; Sun, 18 Jul 2021 19:59:06 +0200 (CEST) Received: from localhost ([::1]:38850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5B4D-0006eR-U3 for larch@yhetil.org; Sun, 18 Jul 2021 13:59:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5B4A-0006eJ-0Z for guix-patches@gnu.org; Sun, 18 Jul 2021 13:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5B49-0006hu-PI for guix-patches@gnu.org; Sun, 18 Jul 2021 13:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5B49-000876-PG for guix-patches@gnu.org; Sun, 18 Jul 2021 13:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 00/37] Support cross-compilation with meson Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Jul 2021 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: Mathieu Othacehe , 49025@debbugs.gnu.org Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162663112531166 (code B ref 49025); Sun, 18 Jul 2021 17:59:01 +0000 Received: (at 49025) by debbugs.gnu.org; 18 Jul 2021 17:58:45 +0000 Received: from localhost ([127.0.0.1]:57115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5B3t-00086b-6i for submit@debbugs.gnu.org; Sun, 18 Jul 2021 13:58:45 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:36570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5B3r-00086O-0D for 49025@debbugs.gnu.org; Sun, 18 Jul 2021 13:58:43 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BD4A93E5; Sun, 18 Jul 2021 19:42:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g685g4iiREEZ; Sun, 18 Jul 2021 19:42:45 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D546225D; Sun, 18 Jul 2021 19:42:44 +0200 (CEST) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210714111307.19324-1-maximedevos@telenet.be> <20210714111307.19324-6-maximedevos@telenet.be> Date: Sun, 18 Jul 2021 19:42:37 +0200 In-Reply-To: <20210714111307.19324-6-maximedevos@telenet.be> (Maxime Devos's message of "Wed, 14 Jul 2021 13:12:50 +0200") Message-ID: <871r7v5xiq.fsf_-_@gnu.org> 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 X-Spamd-Bar: -- X-Rspamd-Server: hera X-Rspamd-Queue-Id: BD4A93E5 X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-3.00)[100.00%] 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626631147; 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: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=HE158nVTyjpa1itYPKBmEuDpDJzP1LsJn47wDjzr0d0=; b=qZJ6VwN4kNuKiZBapVvjeWdQquSMi2S18U1R8eFRvBYIShB38NHMwNkp9z7GlEee10hFFh h7eA0B/WiPdiK7E/1o6Vy6UCl5mRv4627M7+QoqC+u8Aaw3qneSlBEmBhX9/QCqS2fq7yK 1OQB6jg4XGqLGjTSSdHXGYzkvJZFuzNQ5SxwPuiUvwMp+Gw/eTQYBYDp2642MofNVNtArP Z/uhBz8l9c7WMLtNTV3D09rJ9mPHDRNsdbtLYfHYgGlRWKCWtG4OAEFl76bPSRzdMNcqoK qV1KhYzQPLATBZUdHCgMJL2HuIJlTZirv09Jakq9hSH1lEfXWBpYniiNNXomgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626631147; a=rsa-sha256; cv=none; b=F3D0lnimYlDk9RcuLOYiVg0K0NrqTwehcZdJaO9RD/nwClog5vqagLeEVRW6AjrCX/Qlmj 7kyFNhA+WmGkK1k2hvSJiBlfLYYzC8uZHQ5LCgRSKLwIhmMkCOiKuqPHZ2Uv2rHip1CJJf D7LX+S3pZE45uE7F7zB+m22JMAjiFSr/HcJycqLSlryokY4U7aCPa1v0BFJn7jG52Jmt2+ SnWscinW/5Aqo6VVfGlH7gDygLzYonn2cGt1dJRNsa1T1XJTkWVzUqNhtGwd8g6zCkHMhK 6QcQrt+hDuuI583Kqxxt73J2E4l7SwFEAR4yBWfLi6/GMWDSgAfWKM+HjDLarA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DCF9E73E0 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: D8FW3si/DJp5 Hello! Maxime Devos writes: > These macros are intended to be used in build phases. > More precisely, (assoc-ref %build-inputs "input") can be > replaced by #$(this-package-input "input") or #+(this-package-native-input > "native-input") as appropriate. > > * guix/packages.scm > (package-input, package-native-input): New (unexported) procedures. > (this-package-input, this-package-native-input): New macros. As discussed some time ago on IRC, I think it would be good to homogenize this with =E2=80=98lookup-package-input=E2=80=99 and related pro= cedures introduced in ba32f6363878165b3ca53113f6c95b8677b8537b (we both had the same idea :-)). What about keeping the =E2=80=98this-=E2=80=99 macros above, rewriting them= in terms of =E2=80=98lookup-=E2=80=99, and removing =E2=80=98package-input=E2=80=99 and= =E2=80=98package-native-input=E2=80=99? Anyhow, I=E2=80=99m glad this series made it into the repo, thumbs up comra= des! Ludo=E2=80=99.