From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MDLYC/GAeWKTZwEAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 23:00:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CMb+CvGAeWJZXgEAG6o9tA (envelope-from ) for ; Mon, 09 May 2022 23:00:33 +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 C14D82A948 for ; Mon, 9 May 2022 23:00:32 +0200 (CEST) Received: from localhost ([::1]:36638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noAUZ-0007q1-EO for larch@yhetil.org; Mon, 09 May 2022 17:00:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noAT8-0005g8-Rw for guix-patches@gnu.org; Mon, 09 May 2022 16:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noAT8-00055k-DA for guix-patches@gnu.org; Mon, 09 May 2022 16:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noAT8-0008DT-BL for guix-patches@gnu.org; Mon, 09 May 2022 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55220] [PATCH v2 2/6] platform: Add discovery support. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 May 2022 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55220 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe , 55220@debbugs.gnu.org Received: via spool by 55220-submit@debbugs.gnu.org id=B55220.165212988831513 (code B ref 55220); Mon, 09 May 2022 20:59:02 +0000 Received: (at 55220) by debbugs.gnu.org; 9 May 2022 20:58:08 +0000 Received: from localhost ([127.0.0.1]:59590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noASG-0008CD-1Z for submit@debbugs.gnu.org; Mon, 09 May 2022 16:58:08 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:42278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noASD-0008C3-I8 for 55220@debbugs.gnu.org; Mon, 09 May 2022 16:58:06 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id Uky32700L4UW6Th01ky3zL; Mon, 09 May 2022 22:58:04 +0200 Message-ID: <830f00ba147aa40618e00e641d2afc61559f419f.camel@telenet.be> From: Maxime Devos Date: Mon, 09 May 2022 22:58:03 +0200 In-Reply-To: <20220507161126.14553-3-othacehe@gnu.org> References: <20220507161126.14553-1-othacehe@gnu.org> <20220507161126.14553-3-othacehe@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-K+QR4VAdGRoxJ+p9OIf+" 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=1652129884; bh=ufbYflCpulblqW1J6yzCICHEwYhOTFiiCE6+Tq9ePno=; h=Subject:From:To:Date:In-Reply-To:References; b=cP2mNh+tYBEm4eifV/gVhGD0nnLr1v/SWXOgPdZVTtJ1XSLor3I+AV3/W73jCxega r805xp3WG6kfRokz4ru9NqBma0l/DFb8L2+5tDGSj5xvoEWix1hkJEoOndT63FEmoQ Xw9WoqmDfDQmmGHG81OuTWycXSCChgtsy+8Z8UN97M92vYzKKKnsipBwIFMVlBpV5R 9Eu5ArI2eTk2tDF41eqfxHepl2oT0KhbNn1xK3Anbbd4dugSjGTl2Wg3Z3OG0l/U8n V9I6vYQ3IJyiGwlg/7FnnIMyEb5vb3M28PZOpHoXvpbFlM8sLldqdbVo8zO3KJ3ufB 8t8nlq0MpmIgg== 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=1652130032; 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=ufbYflCpulblqW1J6yzCICHEwYhOTFiiCE6+Tq9ePno=; b=JYadHwAMaJ7qJNIpdOAxPPHpe1Mw0sWFs/I3Q5mrjsf2G46QAOcDkrwLj24wI0XLTDXQot gXF8N7S0UXhm/PIVpXYSaSBO27BkiRx/EAELRlXZD+LhSGmNsDEPD418Cp8MCKbrWu8sUx tgxzDWWcPaSLLHurjsuELvSn5VIpuy2+fAHNQC39n0ih2Wpz3KBVd9LLauVbgV3Na+shcW Ylz4EzK22bfR7mrH78g8/L4IiLnU7CESuRG/eztJDxbk7A1hATIcyNgXnV4fWwvUohNLHS XvzRFhhLdjQBzoQe+KZiLLzMmkS+dqE33aIMg7/zGt8eQUslAu98t6AajhN/iA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652130032; a=rsa-sha256; cv=none; b=LS+HAdxZyY86LHdRFTtln/aSScyDiisF5D7J657cPO4hHZIVXLuge/AXfJnVauwbmoimdO jJARDeOyFItCogGIb9TjqTwbjseBCuHz77nRnL6rDOX/yjuv2rSbOmLSnLF5FdxAxLSmyn 1VVhSFV1u2htkuw9N0pZnSiHIoE0Y+kk0SdMAef+hKDPB7tltHQO5HgwuYcJwNaF+QH0oG YgNChBJuiKx2UAt38sCk2UUzIriE0mNySoXk7aWI8lI2/qnxieGr3nIJQhoVeRMWPyAmrq kqFpHX+1OyzXnzO9PlFPiKjgMeXrM4bk2s9wPgvO1T4ddChh4b2m5hk3ZowvkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=cP2mNh+t; 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: 2.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=cP2mNh+t; 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: C14D82A948 X-Spam-Score: 2.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: qKh9Xs0mvFtr --=-K+QR4VAdGRoxJ+p9OIf+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mathieu Othacehe schreef op za 07-05-2022 om 18:11 [+0200]: > * gnu/platform.scm (platform-modules, systems, targets, > lookup-platform-by-system, lookup-platform-by-target, > lookup-platform-by-target-or-system > platform-system->target, > platform-target->system): New procedures. > (%platforms): New variable. > [...] Food for later: I'm wondering if it would make sense to (long term) let %current-system/%current-target-system be a record and eliminate nix-system->gnu-triplet, gnu-triplet->nix-system in favour of platform-target & platform-system. That could avoid the problem of forgetting that targets and nix systems have different formats, making a class of cross-compilation bugs less likely ... Greetings, Maxime. --=-K+QR4VAdGRoxJ+p9OIf+ 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+4iGRcl7gUCYnmAWxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hJ4AP96IzgiIPuDq9G8GHIjmpRjFCB0 Cbe1ZoqCT6+HTb4VuwEAjPQcN+l7xjiOA8iDXH8+Nyu/0ovCpZ6TtkAM7ep09QY= =kGW5 -----END PGP SIGNATURE----- --=-K+QR4VAdGRoxJ+p9OIf+--