GNU bug report logs -
#53657
inconsistent parsing of the channel sexp's
Previous Next
Reported by: Attila Lendvai <attila <at> lendvai.name>
Date: Mon, 31 Jan 2022 12:31:02 UTC
Severity: normal
Tags: notabug
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 this 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 them, e.g. in the 'dependencies field of a .guix-channel entry. see READ-CHANNEL-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, unless the name is without quotes in the dependencies list specification.
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Awareness isn’t something we own; awareness isn’t something we possess. Awareness is actually what we are.”
— Adyashanti (1962–)
This bug report was last modified 3 years and 85 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.