me
/
guix
Archived
1
0
Fork 0

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
Florian Pelz 2020-11-14 23:36:52 +01:00
parent 98750a9d99
commit 29ed17d634
No known key found for this signature in database
GPG Key ID: 300888CB39C63817
1 changed files with 1 additions and 1 deletions

View File

@ -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