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 ms11 with LMTPS id uBCDLFvH2F9xIwAA0tVLHw (envelope-from ) for ; Tue, 15 Dec 2020 14:25:31 +0000 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 2KlQKFvH2F+ROgAAbx9fmQ (envelope-from ) for ; Tue, 15 Dec 2020 14:25:31 +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 61F2C940148 for ; Tue, 15 Dec 2020 14:25:31 +0000 (UTC) Received: from localhost ([::1]:53856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpBGb-0001gU-W6 for larch@yhetil.org; Tue, 15 Dec 2020 09:25:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpB5X-0002ZO-A8 for guix-patches@gnu.org; Tue, 15 Dec 2020 09:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpB5W-0007SR-2G for guix-patches@gnu.org; Tue, 15 Dec 2020 09:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpB5V-0007r2-Su for guix-patches@gnu.org; Tue, 15 Dec 2020 09:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45020] [PATCH 0/2] image: Add system field. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Dec 2020 14:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45020-submit@debbugs.gnu.org id=B45020.160804163130167 (code B ref 45020); Tue, 15 Dec 2020 14:14:01 +0000 Received: (at 45020) by debbugs.gnu.org; 15 Dec 2020 14:13:51 +0000 Received: from localhost ([127.0.0.1]:55973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpB5L-0007qV-GZ for submit@debbugs.gnu.org; Tue, 15 Dec 2020 09:13:51 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:34922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpB5H-0007qF-Gz for 45020@debbugs.gnu.org; Tue, 15 Dec 2020 09:13:50 -0500 Received: by mail-wm1-f65.google.com with SMTP id e25so18634488wme.0 for <45020@debbugs.gnu.org>; Tue, 15 Dec 2020 06:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=hK5NqeRQxaqi1I9NXqKbd/3gQjDnD9PwNOBSt5m9LS0=; b=sMus2AU1i0Fx1ZqMXfLe9SyTW50IYMtJqgwWPcjt8fHSSDpbkMPDRqbDQVIifSrzDV sx7TquCOADd6tEyjCwngIOmXnBbJBSl1qoNJMhgS43sk1mn/lHOjnDKDOhgK9MoFQTYG dkSLMc91m30M4hvWRmlS6B3v+alz02a7crAmDVpwu/5BugHXQkXVpjLjgwj8pugvNzYd NYdR2lt1WC0IncQDTFUE5Mq/aGBDvpS4AZXvjtNQL/Z12XKzsdb1WOaCfVLoDeTPYLaY bOBUkC3DWmyfdE7yn0+GD5PEg7bbXtEcHXARjoEnNwLADYmjpqx3mGOlz3p9wtqxzU9Z CkDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=hK5NqeRQxaqi1I9NXqKbd/3gQjDnD9PwNOBSt5m9LS0=; b=JWiNbsG9r/FexcWRyo6NO4wzQfWLaz3H0V6DF6f8kibCNcjED1m/BJl88RT5hAhKFn 7zlLLpTN9RQW5KvER6a+ZHwk0lssR2oMs8FnFmZuvzVoJF4PcRpqTFg6fVWpmsMZkK0P vPaY+9Vma9WP513XIo+RC0mzkWGgLYPWXQKYuUYZtDhqJgEmjdqiuNuq2bzAq1F9QnEc 3nh2DA1b5C70GmZI5EOZcUq2pOnejy/Vrpm8ErN/7H6Yri4V6/7FNvfXa8B1Gxwg+TzK 5r7AeNX0gKZ1LkSwf3AxsMLN4aLuebQZw1iGwcr6cgY45QktI2AwWdhRgJRdUlRyOGlP lrTQ== X-Gm-Message-State: AOAM5301O1wmsTdw9OBe+fREwU846DMGMbs+ZVgyUxNzGNOTQbVsJvMM d+/rYmA6tPck5F3bnXHHAwFFhf6PDag= X-Google-Smtp-Source: ABdhPJyiqkrzqRrdupB+5EnCdB+qHfUdkxT783flDwEFdOCPAFi2SK+Jc9ktexupCbIAeicjzHsV3A== X-Received: by 2002:a1c:3902:: with SMTP id g2mr32882428wma.117.1608041621252; Tue, 15 Dec 2020 06:13:41 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c4sm38099840wmf.19.2020.12.15.06.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 06:13:40 -0800 (PST) From: zimoun In-Reply-To: <87pn3dzt9m.fsf@gnu.org> References: <20201203105353.149482-1-othacehe@gnu.org> <87eejw5lsn.fsf@gnu.org> <87h7orpgsh.fsf@gnu.org> <86im97fbjt.fsf@gmail.com> <87pn3dzt9m.fsf@gnu.org> Date: Tue, 15 Dec 2020 15:11:33 +0100 Message-ID: <86r1nrma5m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: Mathieu Othacehe , 45020@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=sMus2AU1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 61F2C940148 X-Spam-Score: -1.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: FBE5D9HmJ5DT Hi, On Sun, 13 Dec 2020 at 15:15, Ludovic Court=C3=A8s wrote: > It was designed at a time where things were quite different (nowadays > the =E2=80=9Cvendor=E2=80=9D part is almost always useless), and it=E2=80= =99s primarily for > userland software. It=E2=80=99s well-documented though, no mystery. ;-) It is not because it is well-documented that I do not feel confused or it puzzles me or how difficult it is to understand or know about, especially when the definition appears now a bit awkward. Ah it is the meaning from the dictionary of mystery. ;-) Kidding aside, thanks for the explanations. I have bookmarked them. > --8<---------------cut here---------------start------------->8--- > ;; Description of a platform supported by the GNU system. > (define-record-type* platform make-platform > platform? > (triplet platform-triplet) ;"x86_64-linux-gnu"=20= =20=20=20 > (system-type platform-system-type) ;"x86_64-linux"=20=20= =20=20=20=20=20=20 > (linux-architecture platform-linux-architecture) ;"amd64"=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 > (kernel platform-kernel) ;=20=20=20=20= =20=20=20=20=20=20=20=20=20 > (ld.so platform-ld.so) ;"ld-linux-x86-64.so.2" > (gcc platform-gcc) ; > (binutils platform-binutils) ; > (libc platform-transform-libc)) ;=20=20=20 > --8<---------------cut here---------------end--------------->8--- Naively and what confuse me is the redundancy of the information. For example, is it possible to do something else than =E2=80=9Cgnu=E2=80=9D? O= r when one thing is fixed, other parameters are also fixed, for instance does it make sense "x86_64-linux-gnu"=20=20=20=20 "i686-hurd"=20=20=20=20=20=20=20=20 "arm"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 "ld-hurd-arm.so.2" ? Obviously, the plumbing where it is not a =E2=80=9Cmystery=E2=80=9D for som= e user is necessary. But for user like me, the interface should be simple. > Currently that info is scattered in various pieces in Guix: in base.scm, > cross-base.scm, linux.scm, bootstrap.scm, etc. Having all that in a > single place would be an improvement. Yes. > Of course this is going beyond what was originally discussed in this > thread and I=E2=80=99m not claiming this is the solution to work on right= now. > It might be a general direction to follow longer-term, though. I agree. Aside my usual drift. ;-) All the best, simon