guix home: Default verbosity is the same as for 'guix system'.

Previously the default verbosity would always be 3, and
'verbosity-level' would thus have no effect.

* guix/scripts/home.scm (verbosity-level): Change to level 3 for
'build'.
(%default-options): Set 'verbosity' to #f.
This commit is contained in:
Ludovic Courtès 2022-01-17 14:57:30 +01:00
parent a9cc79d9f3
commit bf23862abc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -105,7 +105,7 @@ (define (verbosity-level opts)
"Return the verbosity level based on OPTS, the alist of parsed options."
(or (assoc-ref opts 'verbosity)
(if (eq? (assoc-ref opts 'action) 'build)
2 1)))
3 1)))
(define %options
;; Specification of the command-line options.
@ -137,7 +137,7 @@ (define %default-options
(print-build-trace? . #t)
(print-extended-build-trace? . #t)
(multiplexed-build-output? . #t)
(verbosity . 3)
(verbosity . #f) ;default
(debug . 0)))