[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Discrepancy between manual and channels.scm
From: |
Ludovic Courtès |
Subject: |
Re: Discrepancy between manual and channels.scm |
Date: |
Sat, 20 Mar 2021 18:02:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
ison <ison@airmail.cc> 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’re right; I’ll push a fix to the manual shortly.
> 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’s necessarily different because ‘.guix-channel’ is data whereas
‘channels.scm’ is code.
Thanks!
Ludo’.