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:
parent
0b0d734a97
commit
ebefc7815e
1 changed files with 2 additions and 1 deletions
|
|
@ -1071,7 +1071,8 @@ ORDER BY packages.name, packages.version"
|
||||||
commit store-item)))
|
commit store-item)))
|
||||||
(and
|
(and
|
||||||
guix-revision-id
|
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
|
(insert-channel-news-entries-for-guix-revision
|
||||||
conn
|
conn
|
||||||
guix-revision-id
|
guix-revision-id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue