Fix the use of defined? in relation to channel news

This worked fine in a REPL, but here it seems the module needs to be passed.
This commit is contained in:
Christopher Baines 2019-12-22 15:23:16 +00:00
parent 0b0d734a97
commit ebefc7815e

View file

@ -1071,7 +1071,8 @@ ORDER BY packages.name, packages.version"
commit store-item)))
(and
guix-revision-id
(if (defined? 'channel-news-for-commit)
(if (defined? 'channel-news-for-commit
(resolve-module '(guix channels)))
(insert-channel-news-entries-for-guix-revision
conn
guix-revision-id