Subject: bug#42247: Channel news raise error on `guix pull`

From: Pierre Neidhardt <[email-masked]>
Date: Sat, 11 Jul 2020 11:13:24 +0200

Ludovic Courtès <[email-masked]> writes:

> This suggests that the ‘news.scm’ file of your channel is being picked
> up and evaluated as if it were a module, which it’s not.
>
> The solution is to rename it to, say, ‘news.txt’, or to move the actual
> modules to a sub-directory and specify that in ‘.guix-channel’ (info
> "(guix) Channels").

Thanks for the hint, this works indeed!

1. Is there anything we can do to catch this error and output a more
intelligible error message?

2. I suggest we document this pitfall in the documentation.

Cheers!

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