From b6b097ac8114510c380a9293bf50f797c57ff3ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Mon, 9 Jun 2014 18:54:52 +0200
Subject: [PATCH] guix build: Only 'guix build' sets #:print-build-trace.

This makes 'guix package' et al. slightly less verbose, by not emitting
"@ substituter-started" lines and similar.

* guix/scripts/build.scm (set-build-options-from-command-line): Pass
  #:print-build-trace.
  (%default-options): Add 'print-build-trace?'.
---
 guix/scripts/build.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 35b10a0ec28..6d864bfe3b0 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -151,6 +151,7 @@ (define (set-build-options-from-command-line store opts)
                      #:use-build-hook? (assoc-ref opts 'build-hook?)
                      #:max-silent-time (assoc-ref opts 'max-silent-time)
                      #:timeout (assoc-ref opts 'timeout)
+                     #:print-build-trace (assoc-ref opts 'print-build-trace?)
                      #:verbosity (assoc-ref opts 'verbosity)))
 
 (define %standard-build-options
@@ -213,6 +214,7 @@ (define %default-options
   `((system . ,(%current-system))
     (substitutes? . #t)
     (build-hook? . #t)
+    (print-build-trace? . #t)
     (max-silent-time . 3600)
     (verbosity . 0)))
 
-- 
GitLab