From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aJogFCb7yV/DVwAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 09:02:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GIfxDyb7yV9IXQAAB5/wlQ (envelope-from ) for ; Fri, 04 Dec 2020 09:02:30 +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 D81039403A2 for ; Fri, 4 Dec 2020 09:02:29 +0000 (UTC) Received: from localhost ([::1]:60980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl6yx-0002gE-Q0 for larch@yhetil.org; Fri, 04 Dec 2020 04:02:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl6yZ-0002g6-CM for guix-patches@gnu.org; Fri, 04 Dec 2020 04:02:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kl6yY-0007bw-34 for guix-patches@gnu.org; Fri, 04 Dec 2020 04:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kl6yY-0000iW-10 for guix-patches@gnu.org; Fri, 04 Dec 2020 04:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45021] [PATCH 1/2] image: Add system field. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Dec 2020 09:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 45021@debbugs.gnu.org Received: via spool by 45021-submit@debbugs.gnu.org id=B45021.16070724772705 (code B ref 45021); Fri, 04 Dec 2020 09:02:01 +0000 Received: (at 45021) by debbugs.gnu.org; 4 Dec 2020 09:01:17 +0000 Received: from localhost ([127.0.0.1]:42581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl6xo-0000hZ-UM for submit@debbugs.gnu.org; Fri, 04 Dec 2020 04:01:17 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:43236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl6xn-0000hQ-Bu for 45021@debbugs.gnu.org; Fri, 04 Dec 2020 04:01:15 -0500 Received: from localhost (80-110-125-229.cgn.dynamic.surfer.at [80.110.125.229]) by dd26836.kasserver.com (Postfix) with ESMTPSA id A4EAE3363A0F; Fri, 4 Dec 2020 10:01:13 +0100 (CET) Date: Fri, 4 Dec 2020 10:01:10 +0100 From: Danny Milosavljevic Message-ID: <20201204100110.3fb09f1c@scratchpost.org> In-Reply-To: <875z5iouqq.fsf@gnu.org> References: <20201203105353.149482-1-othacehe@gnu.org> <20201203105353.149482-2-othacehe@gnu.org> <20201203214124.796b3651@scratchpost.org> <875z5iouqq.fsf@gnu.org> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8KHRJk3waM=1jQ2CO.onwG3"; protocol="application/pgp-signature"; micalg=pgp-sha512 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-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: D81039403A2 X-Spam-Score: -2.39 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 3whegfOJ18fS --Sig_/8KHRJk3waM=1jQ2CO.onwG3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Mathieu, On Fri, 04 Dec 2020 09:12:13 +0100 Mathieu Othacehe wrote: > I used "eq?" because if "system" is left to its default in some image > definition, then we would end-up comparing "#f" and a string. Yeah, but eq? only compares the "addresses" of things, not the content. (eq? "a" "a") could totally be #f if one is unlucky. For example try: (eq? "a" (read)) and enter "a". The result will be #f. On the other hand, (equal? "a" "a") would work; also (equal? "a" #f) would not fail. --Sig_/8KHRJk3waM=1jQ2CO.onwG3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl/J+tYACgkQ5xo1VCww uqW0aAf/U/1n+zR4Io+GQAgr06SyeyneJO7mOsYg6W26JkjW8fNWGedgfu+s9uJ6 v17fID4pZFJ+T4DVshyM51LKZRmgnvLMElJ8grFEK62wKQF/DoAuv3xwybBU0RLs 473DZyCKe16DQEeX/nFDU/rl+5j8NpZS3RBefokK29UBXvjoEDDdTy7fxN23nXbK RfaHyKhIbE1RbeodOf50QNAuMHiAhdG3tcSLOR3JkP++Tw9NKadAurrDvl1OaTai N2yXDXN1xDNGaAtRvHISPW2qA8cZ0x/PN2FeFZqX2rItWcZ/A6KOX7gFlNu8hEar EG27r/RiIq3fXGAbIylajnbH57AItQ== =l3P5 -----END PGP SIGNATURE----- --Sig_/8KHRJk3waM=1jQ2CO.onwG3--