From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EGUeHOCUXWBaUQAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 09:01:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 5fwHFuCUXWAEcAAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 08:01:36 +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 E6B9932985 for ; Fri, 26 Mar 2021 09:01:35 +0100 (CET) Received: from localhost ([::1]:60630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPhPT-0002kv-2i for larch@yhetil.org; Fri, 26 Mar 2021 04:01:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPhOu-0002jb-Aj for guix-devel@gnu.org; Fri, 26 Mar 2021 04:01:00 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:33341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPhOs-0001Vy-FK; Fri, 26 Mar 2021 04:01:00 -0400 Received: by mail-wm1-x32d.google.com with SMTP id w203-20020a1c49d40000b029010c706d0642so5477010wma.0; Fri, 26 Mar 2021 01:00:56 -0700 (PDT) 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=IwNsZ4pGboDEVkDPwCcOLX8mdZKA/Dvxn5N3FoIlmro=; b=njRfuL+ZPYMJYF6jxcXCt/vYAZNcFwkRnmpP9nWiBfNL1UO4+HmjwJYCcfbB41hiqc gRFSnpl+SVj8iL/WrQJc/iobmkDodInAJdSm0hBxkVDdy3s/49El2O7APeP/18deRnWz YzkiLwVUxFOvsueIwWOzGOVXELIwS2YdXACKynEySav0m7Phly0OwQSNyHtPevbyZBZF +XWub4PEMuc297Z1NgYRzFCvg+XjoWGqJF+uOQBTykms3NtmGd7SPuClc21cx/z9LQoQ mNoL1LxmoPlT/Bvpi2we+lZC+vmRzwS0FyLEQLvbjkFPH6Imrva4/yfZ2N+5gmsNDNyB Vs9Q== 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=IwNsZ4pGboDEVkDPwCcOLX8mdZKA/Dvxn5N3FoIlmro=; b=Zy9nSyhNg/ZvvVQtXlCn+Zbddrol2IxhW/4y+7CO5wBCgPTWlicGQFRtKAuQH7qT8L cOj5ubJZL6NHmj/DUObrqQ3ewADsDEyT0Sl+y+JNSIKnUsw7vMlR03lBjlr+fEEE8Cgw 0d4+fX8irK7OmIlam5rDmrEKX+Z1EMs7JrXWarZbc/R17NtFJdyl5SKzK0XguhKLrZsm K/xnMbX3kGmgptuvLdTkGqnK1IFIDpyoW2BYiD7yHYvAJVmk5CpnzbBy7mPVDlZfHa4y 0bHu73lXtFzRmtPLQ6bO7IYpkr+HqNY+pQhgQeXl1sHtEudwpqUISovVxESucJygi71L HRNw== X-Gm-Message-State: AOAM533cXIKUDhkZ6JfHZMzKTwG+CMmoN23AzCjDjMPCn9pvc8Ei0mIk gmQ5D2p9pISk3FeZeZlIh1+ZpgQqR70= X-Google-Smtp-Source: ABdhPJxbJpK1QQwSfw28bsxAUBDnWNZZL+DaFBe17S/0YdEJHgMJ05kWoIJVv3eetcZiCHdm92BXJw== X-Received: by 2002:a05:600c:290a:: with SMTP id i10mr11802288wmd.91.1616745655539; Fri, 26 Mar 2021 01:00:55 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id y205sm11854113wmc.18.2021.03.26.01.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 01:00:55 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , ison Subject: Re: Discrepancy between manual and channels.scm In-Reply-To: <875z1l7o7q.fsf@gnu.org> References: <87pmzwosfd.fsf@airmail.cc> <875z1l7o7q.fsf@gnu.org> Date: Fri, 26 Mar 2021 08:54:56 +0100 Message-ID: <86pmzmbb8v.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616745696; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IwNsZ4pGboDEVkDPwCcOLX8mdZKA/Dvxn5N3FoIlmro=; b=YbZWEsLzf6D9LEL7UHzukzcw5pWoB3YfaEI+DCezgkQyef2XvmqyaWZziOUQnxHNBS9uZP EEizHpryjEN06h95B75Xt7dgj/Iq1mG5VdP1KqKlzFRhA6Jt6P7EGlPrxF0MmZ+OtIJAGm 0zIn7XUmbDgpVfJnzGCWI3h8eOU6TMoMFvD8I6xZrM9+tW8l6bIvKKUI0bg56xmWxj3Xj2 1TTkLLARUs5kguiCnHh53Wz+elyaDEjzc9xWdl5Dx3OxW7A5mZVho7AAzIW4aTrMqWT9qs uRhk1I/mkOEka+v5cKy2b0/CHb8eO6AB2z+dSofdNkk8vhUqswlNOeq0hdTDUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616745696; a=rsa-sha256; cv=none; b=R1Jp+Zmj9FmIoZGI+ALhkbEMLhhJKuvpdCrwtj5nWxq45SlrWVDf9QuQvxSBPIjC0UgULT JYyVNIWAFnNPiKQDwJvco6XQf5uK8YrEMmRd0z2ZNvmLJWjTQC/bLgBdwT0XbcZn1whER3 5JdT1EUz6Gfy2WjNRgeRzzwmKp27RS72sXPYHXc4PLXrJljLBEFQxgQEvyEnhbFb9l/uGM 4jAU6rxw31RwBnljnfX9mK5wEMQ1cqwhdq5Xc6IF9hZXYYu2AuzYgXjE0hVmvZPpWruRm0 rDo++Srfr7kWMxIcMqqOMkBdETvjSCwg5KZwHpbJHCZOKiK6DfVw1rmz2YYuUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=njRfuL+Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=njRfuL+Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E6B9932985 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: ywVCZ6Za6I8a Hi, On Sat, 20 Mar 2021 at 18:02, Ludovic Court=C3=A8s wrote: > ison skribis: > >> Under "6.7 Declaring Channel Dependencies" the examples show names being >> quoted, such as (name 'some-collection) however this causes guix pull to >> fail. I don't remember the exact error but it was failing the "match" >> statement under "resolve-dependencies" in "guix/channels.scm". >> >> (name "some-collection") also fails. >> (name some-collection) succeeds, without any quoting. > > Oops you=E2=80=99re right; I=E2=80=99ll push a fix to the manual shortly. Indeed, it can be confusing to have: (name some-collection) where elsewhere it is quoted. Related to below, since it is data, does you make sense to have (name =E2=80=9Csome-collection=E2=80=9D) for .guix-c= hannel and a =E2=80=99string->symbol=E2=80=99 somewhere. >> I'm not sure if it's the manual which needs fixing or the code, but >> specifying the name without quoting would be inconsistent with how >> channel names are declared in ~/.config/guix/channels.scm. > > It=E2=80=99s necessarily different because =E2=80=98.guix-channel=E2=80= =99 is data whereas > =E2=80=98channels.scm=E2=80=99 is code. Right, option =E2=80=99--channels/-C=E2=80=99 of =E2=80=9Cguix pull=E2=80= =9D says: =C2=ABfile must contain Scheme code=C2=BB then section =E2=80=9CSpecifying Additional Channels=E2= =80=9D says =C2=ABNote that the snippet above is (as always!) Scheme code=C2=BB. However, what is maybe less clear is that =E2=80=99.guix-channel=E2=80=99 i= s data. Even if it is often said =C2=ABmeta-data file .guix-channel=C2=BB. Maybe the = =E2=80=9Cmeta=E2=80=9D is confusing. Why simply not say =C2=ABdata file=C2=BB. Or =C2=ABmeta-data f= ile .guix-channel (which is not code)=C2=BB. Well, it is confusing because code is data. :-) And all is using parenthesis. And the =E2=80=99.guix-channel=E2=80=99 looks very similar as= channels.scm. Cheers, simon