status: Always print the daemon's "waiting for locks" messages.
Reported by Ricardo Wurmus <rekado@elephly.net>. * guix/status.scm (print-build-event) <build-log>: Let "waiting for locks" messages through.
This commit is contained in:
parent
0e2d3ce20e
commit
f9051e3870
|
@ -383,14 +383,20 @@ addition to build events."
|
||||||
actual hash: ~a~%"))
|
actual hash: ~a~%"))
|
||||||
expected actual))
|
expected actual))
|
||||||
(('build-log line)
|
(('build-log line)
|
||||||
;; The daemon prefixes early messages coming with 'guix substitute' with
|
;; TODO: Better distinguish daemon messages and build log lines.
|
||||||
;; "substitute:". These are useful ("updating substitutes from URL"), so
|
(cond ((string-prefix? "substitute: " line)
|
||||||
;; let them through.
|
;; The daemon prefixes early messages coming with 'guix
|
||||||
(if (string-prefix? "substitute: " line)
|
;; substitute' with "substitute:". These are useful ("updating
|
||||||
(begin
|
;; substitutes from URL"), so let them through.
|
||||||
(format port line)
|
(format port line)
|
||||||
(force-output port))
|
(force-output port))
|
||||||
(print-log-line line)))
|
((string-prefix? "waiting for locks" line)
|
||||||
|
;; This is when a derivation is already being built and we're just
|
||||||
|
;; waiting for the build to complete.
|
||||||
|
(display (info (string-trim-right line)) port)
|
||||||
|
(newline))
|
||||||
|
(else
|
||||||
|
(print-log-line line))))
|
||||||
(_
|
(_
|
||||||
event)))
|
event)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue