guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: status: Avoid "sucessfully built" messages when in quiet mode.


From: Ludovic Courtès
Subject: 03/03: status: Avoid "sucessfully built" messages when in quiet mode.
Date: Sun, 14 Oct 2018 17:49:11 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 38a2f5eafb43b6407f8d9755da31dcb50ce64167
Author: Ludovic Courtès <address@hidden>
Date:   Sun Oct 14 23:46:42 2018 +0200

    status: Avoid "sucessfully built" messages when in quiet mode.
    
    * guix/status.scm (print-build-event): Print "successfully built"
    messages only when PRINT-LOG? is true, like we do for
    'substituter-started' events.
---
 guix/status.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/status.scm b/guix/status.scm
index 13537c7..d8d761d 100644
--- a/guix/status.scm
+++ b/guix/status.scm
@@ -319,8 +319,9 @@ addition to build events."
      (format port (info (G_ "building ~a...")) drv)
      (newline port))
     (('build-succeeded drv . _)
-     (format port (success (G_ "successfully built ~a")) drv)
-     (newline port)
+     (when (or print-log? (not (extended-build-trace-supported?)))
+       (format port (success (G_ "successfully built ~a")) drv)
+       (newline port))
      (match (build-status-building status)
        (() #t)
        (ongoing                                   ;when max-jobs > 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]