zilch-cli-ninja: Temporarily disable statusbar
Change-Id: I6a6a69646c6ff4c4b70cb928dc1df06890144429
This commit is contained in:
parent
ff58095797
commit
d910ce30e8
1 changed files with 0 additions and 10 deletions
|
|
@ -52,16 +52,6 @@ Arguments:
|
||||||
(when (null? args)
|
(when (null? args)
|
||||||
(print-help "No subcommand"))
|
(print-help "No subcommand"))
|
||||||
|
|
||||||
; Set up the logger.
|
|
||||||
(define (set-print-logs val) #f)
|
|
||||||
(let ((prev-error-handler (current-exception-handler))) (current-exception-handler (lambda data (set-print-logs #t) (apply prev-error-handler data))))
|
|
||||||
(when (terminal-port? (current-error-port))
|
|
||||||
(let-values (((new-out new-err statusbar-set-print-logs logger) (statusbar-logger (current-output-port) (current-error-port) (assoc 'print-build-logs options))))
|
|
||||||
(current-output-port new-out)
|
|
||||||
(current-error-port new-err)
|
|
||||||
(set! set-print-logs statusbar-set-print-logs)
|
|
||||||
(*logger* logger)))
|
|
||||||
|
|
||||||
;; Flags passed to the nix daemon:
|
;; Flags passed to the nix daemon:
|
||||||
(define max-jobs (if (assoc 'max-jobs options) (string->number (cdr (assoc 'max-jobs options))) (get-cpu-count)))
|
(define max-jobs (if (assoc 'max-jobs options) (string->number (cdr (assoc 'max-jobs options))) (get-cpu-count)))
|
||||||
(define verbosity 3)
|
(define verbosity 3)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue