From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oLhXEwBLH2KQOwEAgWs5BA (envelope-from ) for ; Wed, 02 Mar 2022 11:46:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SNw4DABLH2KuXgAAG6o9tA (envelope-from ) for ; Wed, 02 Mar 2022 11:46:24 +0100 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 C484D35D70 for ; Wed, 2 Mar 2022 11:46:23 +0100 (CET) Received: from localhost ([::1]:44174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPMUw-0004id-TM for larch@yhetil.org; Wed, 02 Mar 2022 05:46:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPMUc-0004gc-AJ for bug-guix@gnu.org; Wed, 02 Mar 2022 05:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPMUc-0000Pd-1l for bug-guix@gnu.org; Wed, 02 Mar 2022 05:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPMUb-0001CM-VW for bug-guix@gnu.org; Wed, 02 Mar 2022 05:46:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53657: inconsistent parsing of the channel sexp's Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Mar 2022 10:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53657 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Attila Lendvai Received: via spool by 53657-submit@debbugs.gnu.org id=B53657.1646217906870 (code B ref 53657); Wed, 02 Mar 2022 10:46:01 +0000 Received: (at 53657) by debbugs.gnu.org; 2 Mar 2022 10:45:06 +0000 Received: from localhost ([127.0.0.1]:39196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPMTh-0000De-R6 for submit@debbugs.gnu.org; Wed, 02 Mar 2022 05:45:06 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPMTf-00008p-JZ for 53657@debbugs.gnu.org; Wed, 02 Mar 2022 05:45:03 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BF46E35D; Wed, 2 Mar 2022 11:44:57 +0100 (CET) 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 w6Wry3FLnusq; Wed, 2 Mar 2022 11:44:57 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D737A203; Wed, 2 Mar 2022 11:44:56 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Wed, 02 Mar 2022 11:44:56 +0100 In-Reply-To: (Attila Lendvai's message of "Mon, 31 Jan 2022 12:30:18 +0000") Message-ID: <874k4g4orb.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: BF46E35D X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 53657@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646217983; 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=G3Z834zf/XG+KgBNF3USc5g8sfNt4CHCD8jt8hvcJTM=; b=QI/w25QJMnAKEXvmMMy+7CV7Ysoda2r467j3OEz2UpOhpYK7TX4e81WUNHJjCZtLXTlwOu vvOsXrY1NxJNUQa1JZDu4WKD+mhRU4H+7CDj176ch58bgdEFXl+dBxUvDlEef//Gioq6tO 3iDzv0gNIH8uFYoeMqyjAnoDxMuXPl5on3DWsuh9an+0rF/05effxe2MnVyVnu1QbSFQOk WPXWiDUmyEIXkabx5ZsvivjEu+8KRIjkVzxHHYdsjybHoh42MUjIMvbTqsiUHqdoRb4Wq3 E4uMq4LeRona9UiSWmN6x6x4c3mXwYvBGpK8LjDEPN6hx1b2GGz24W9d1a1uwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646217983; a=rsa-sha256; cv=none; b=jGw1/WqelkqelJeMTpSNqf9a1GprR0wrkzDzVJ0XVqLIRXq9qIF5tQ1GLmaqLEoMIFNunO 2K/QR/TKk4hfbXt8FsvzYyuv+wQLfdYJCKiHICgUanT0ZhCxBpaqXn+q/6ddD8Tf1cTeFE okMtPfXnfSlHX2WFkAzTR8aZf9pu81vqumPbTBw/4dHPnE8CCe9+sNRmPS+rc3WfeLYPYt 1te1BwvrDzVu0dy5ZIZ1wtGbixFC3xY1EN9QP3icQwyBvVVY4Y8U+CEdRryZLRdnAirky8 e4atDgjfkl1JGaXfJZdWVTJUbCldJP0cFrBwmK61T3oFkCP3GNelRY4NXay4UQ== 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 "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.02 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C484D35D70 X-Spam-Score: 2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7fnrye1rg6R9 Hi, Attila Lendvai skribis: > pull.scm does this with channel files, e.g. with /etc/guix/channels.scm: > > (load* file (make-user-module '((guix channels)))) > > i.e. this way field values are EVAL'd. beside the big can of worms that t= his opens up, it also means that e.g. the name field must be quoted: (name = 'guix). > > then at other occurrences of channels, an sexp parser is used to read the= m, e.g. in the 'dependencies field of a .guix-channel entry. see READ-CHANN= EL-METADATA in guix/channels.scm. > > here the name field is not EVAL'd, and thus it must be specified without = quotes: (name guix). > > this leads to an actual issue that channel dependencies don't match up, u= nless the name is without quotes in the dependencies list specification. Yes, but that=E2=80=99s okay: the =E2=80=98.guix-channel=E2=80=99 file has = a syntax that looks similar but is different from that of =E2=80=98~/.config/guix/channels.scm= =E2=80=99, as you explained (and as the manual explains, I think.) This is on purpose. I understand it might look confusing but I=E2=80=99m not sure there=E2=80= =99s much we can do. Thoughts? Ludo=E2=80=99.