diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-01-23 18:31:35 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-23 18:31:35 +0100 |
commit | f1b3a12c1df88cb61de0a1054ef0c9ce40c07958 (patch) | |
tree | 19fdc9795af5e40b69bae80c7059bb90ffc0cb98 /src | |
parent | d7306a4f48a666a008091bfeb94d1fdb32b46948 (diff) | |
download | cuirass-f1b3a12c1df88cb61de0a1054ef0c9ce40c07958.tar cuirass-f1b3a12c1df88cb61de0a1054ef0c9ce40c07958.tar.gz |
base: Use 'log-message' some more.
* src/cuirass/base.scm (build-packages): Use 'log-message' instead of
'format'.
Diffstat (limited to 'src')
-rw-r--r-- | src/cuirass/base.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm index e08df58..5e5422b 100644 --- a/src/cuirass/base.scm +++ b/src/cuirass/base.scm @@ -324,9 +324,9 @@ updating DB accordingly." ;; possible (we must be using #:keep-going? #t). Swallow build logs (the ;; daemon keeps them anyway), and swallow build errors. (guard (c ((nix-protocol-error? c) #t)) - (format #t "load-path=~s\n" %load-path) - (format #t "load-compiled-path=~s\n" %load-compiled-path) - (format #t "building ~a derivations...~%" (length jobs)) + (log-message "load-path=~s" %load-path) + (log-message "load-compiled-path=~s" %load-compiled-path) + (log-message "building ~a derivations" (length jobs)) (parameterize ((current-build-output-port (build-event-output-port (lambda (event status) (handle-build-event db event)) @@ -344,8 +344,8 @@ updating DB accordingly." (outputs (map (cut assq-ref <> #:outputs) results)) (outs (filter-map (cut assoc-ref <> "out") outputs)) (fail (- (length jobs) success))) - (format #t "outputs:\n~a\n" (string-join outs "\n")) - (format #t "success: ~a, fail: ~a\n" success fail) + (log-message "outputs:\n~a" (string-join outs "\n")) + (log-message "success: ~a, fail: ~a" success fail) results)) (define (prepare-git) |