unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix pull error with custom channel news file
@ 2020-02-21  8:55 Pierre Neidhardt
  0 siblings, 0 replies; only message in thread
From: Pierre Neidhardt @ 2020-02-21  8:55 UTC (permalink / raw)
  To: help-guix

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

Hi!

I tried added a news file to a channel and got this error:

--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've followed the manual though.
In .guix-channel:

--8<---------------cut here---------------start------------->8---
(channel
 (version 0)
 (news-file "news.scm")
 (dependencies
  (channel
   (name nonguix)
   (url "https://example.org"))))
--8<---------------cut here---------------end--------------->8---

And in "news.scm" at the channel root:

--8<---------------cut here---------------start------------->8---
(channel-news
 (version 0)
 (entry (commit "25387230a7f99c2b0886488ed061747c9e00434a")
        (title (en "Great news!"))
        (body (en "This is seriously great news!"))))
--8<---------------cut here---------------end--------------->8---

Any clue what's wrong?

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-21  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21  8:55 guix pull error with custom channel news file Pierre Neidhardt

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