ui: 'build-notifier' invokes continuation when there's nothing to do.

* guix/ui.scm (build-notifier): Call CONTINUE when there's nothing to
build or download, even when DRY-RUN? is true.
This commit is contained in:
Ludovic Courtès 2020-03-22 11:53:21 +01:00
parent 883a1765a6
commit 9b771305df
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 6 deletions

View File

@ -1078,12 +1078,15 @@ any build happening."
#f))
things))
(show-what-to-build store inputs
#:dry-run? dry-run?
#:use-substitutes? use-substitutes?
#:mode mode)
(unless dry-run?
(continue #t))))
(let-values (((build? download?)
(show-what-to-build store inputs
#:dry-run? dry-run?
#:use-substitutes? use-substitutes?
#:mode mode)))
(unless (and (or build? download?)
dry-run?)
(continue #t)))))
(define (right-arrow port)
"Return either a string containing the 'RIGHT ARROW' character, or an ASCII