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:
		
							parent
							
								
									49ad317ae1
								
							
						
					
					
						commit
						b6b097ac81
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -151,6 +151,7 @@ options handled by 'set-build-options-from-command-line', and listed in
 | 
				
			||||||
                     #:use-build-hook? (assoc-ref opts 'build-hook?)
 | 
					                     #:use-build-hook? (assoc-ref opts 'build-hook?)
 | 
				
			||||||
                     #:max-silent-time (assoc-ref opts 'max-silent-time)
 | 
					                     #:max-silent-time (assoc-ref opts 'max-silent-time)
 | 
				
			||||||
                     #:timeout (assoc-ref opts 'timeout)
 | 
					                     #:timeout (assoc-ref opts 'timeout)
 | 
				
			||||||
 | 
					                     #:print-build-trace (assoc-ref opts 'print-build-trace?)
 | 
				
			||||||
                     #:verbosity (assoc-ref opts 'verbosity)))
 | 
					                     #:verbosity (assoc-ref opts 'verbosity)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define %standard-build-options
 | 
					(define %standard-build-options
 | 
				
			||||||
| 
						 | 
					@ -213,6 +214,7 @@ options handled by 'set-build-options-from-command-line', and listed in
 | 
				
			||||||
  `((system . ,(%current-system))
 | 
					  `((system . ,(%current-system))
 | 
				
			||||||
    (substitutes? . #t)
 | 
					    (substitutes? . #t)
 | 
				
			||||||
    (build-hook? . #t)
 | 
					    (build-hook? . #t)
 | 
				
			||||||
 | 
					    (print-build-trace? . #t)
 | 
				
			||||||
    (max-silent-time . 3600)
 | 
					    (max-silent-time . 3600)
 | 
				
			||||||
    (verbosity . 0)))
 | 
					    (verbosity . 0)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue