all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#42247: Channel news raise error on `guix pull`
@ 2020-07-07 14:54 Pierre Neidhardt
  2020-07-09 22:26 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2020-07-07 14:54 UTC (permalink / raw)
  To: 42247

[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]

I've added a news-file entry to my channel:

--8<---------------cut here---------------start------------->8---
(channel
 (version 0)
 (news-file "news.scm"))
--8<---------------cut here---------------end--------------->8---

which contains

--8<---------------cut here---------------start------------->8---
(channel-news
 (version 0)
 (entry (commit "25387230a7f99c2b0886488ed061747c9e00434a")
        (title (en "Hello"))
        (body (en "World!"))))
--8<---------------cut here---------------end--------------->8---

Reading the news file from the REPL works.

--8<---------------cut here---------------start------------->8---
(with-input-from-file "/home/ambrevar/projects/foo/news.scm"
                          (lambda ()
                            (read-channel-news (current-input-port))))
--8<---------------cut here---------------end--------------->8---

However, guix pull chokes on it:

--8<---------------cut here---------------start------------->8---
(repl-version 0 0)
(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (channel-news)) (value #f))
--8<---------------cut here---------------end--------------->8---

I first encountered this issue in Feb 2020, but this issue might have
been around since channel news were introduced.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2020-07-14  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 14:54 bug#42247: Channel news raise error on `guix pull` Pierre Neidhardt
2020-07-09 22:26 ` Ludovic Courtès
2020-07-11  9:13   ` Pierre Neidhardt
2020-07-13 10:27     ` Ludovic Courtès
2020-07-13 12:50       ` Bengt Richter
2020-07-14  8:53   ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.