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?'.
This commit is contained in:
Ludovic Courtès 2014-06-09 18:54:52 +02:00
parent 49ad317ae1
commit b6b097ac81

View File

@ -151,6 +151,7 @@ options handled by 'set-build-options-from-command-line', and listed in
#: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 @@ options handled by 'set-build-options-from-command-line', and listed in
`((system . ,(%current-system))
(substitutes? . #t)
(build-hook? . #t)
(print-build-trace? . #t)
(max-silent-time . 3600)
(verbosity . 0)))