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 @@ Some ACTIONS support additional ARGS.\n"))
"Return the verbosity level based on OPTS, the alist of parsed options." "Return the verbosity level based on OPTS, the alist of parsed options."
(or (assoc-ref opts 'verbosity) (or (assoc-ref opts 'verbosity)
(if (eq? (assoc-ref opts 'action) 'build) (if (eq? (assoc-ref opts 'action) 'build)
2 1))) 3 1)))
(define %options (define %options
;; Specification of the command-line options. ;; Specification of the command-line options.
@ -137,7 +137,7 @@ Some ACTIONS support additional ARGS.\n"))
(print-build-trace? . #t) (print-build-trace? . #t)
(print-extended-build-trace? . #t) (print-extended-build-trace? . #t)
(multiplexed-build-output? . #t) (multiplexed-build-output? . #t)
(verbosity . 3) (verbosity . #f) ;default
(debug . 0))) (debug . 0)))