pull: Do not suggest running `guix pull --news' on the first run.
* guix/scripts/pull.scm (display-channel-news-headlines): If there are no news to display, return false instead of <unspecified>.master
parent
98750a9d99
commit
29ed17d634
|
@ -385,7 +385,7 @@ previous generation. Return true if there are news to display."
|
||||||
(and=> (relative-generation profile -1)
|
(and=> (relative-generation profile -1)
|
||||||
(cut generation-file-name profile <>)))
|
(cut generation-file-name profile <>)))
|
||||||
|
|
||||||
(when previous
|
(and previous
|
||||||
(let ((old-channels (profile-channels previous))
|
(let ((old-channels (profile-channels previous))
|
||||||
(new-channels (profile-channels profile)))
|
(new-channels (profile-channels profile)))
|
||||||
;; Find the channels present in both PROFILE and PREVIOUS, and print
|
;; Find the channels present in both PROFILE and PREVIOUS, and print
|
||||||
|
|
Reference in New Issue