unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53657: inconsistent parsing of the channel sexp's
@ 2022-01-31 12:30 Attila Lendvai
  2022-02-01 14:41 ` Ricardo Wurmus
  2022-03-02 10:44 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Attila Lendvai @ 2022-01-31 12:30 UTC (permalink / raw)
  To: 53657

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–)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-02 10:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 12:30 bug#53657: inconsistent parsing of the channel sexp's Attila Lendvai
2022-02-01 14:41 ` Ricardo Wurmus
2022-03-02 10:44 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).