pull: Hide compilation warnings.
* guix/build/pull.scm (build-guix): Bind 'current-warning-port' to a void port.
This commit is contained in:
parent
ce33c3af76
commit
2900665888
|
@ -119,9 +119,10 @@ containing the source code. Write any debugging output to DEBUG-PORT."
|
|||
(set! %load-path (cons out %load-path))
|
||||
(set! %load-compiled-path (cons out %load-compiled-path))
|
||||
|
||||
;; Compile the .scm files. Filter out files depending on Guile-SSH when
|
||||
;; Guile-SSH is missing.
|
||||
;; Compile the .scm files. Hide warnings.
|
||||
(parameterize ((current-warning-port (%make-void-port "w")))
|
||||
(with-directory-excursion out
|
||||
;; Filter out files depending on Guile-SSH when Guile-SSH is missing.
|
||||
(let ((files (filter has-all-its-dependencies?
|
||||
(all-scheme-files "."))))
|
||||
(compile-files out out
|
||||
|
@ -154,7 +155,7 @@ containing the source code. Write any debugging output to DEBUG-PORT."
|
|||
(format log-port "compiling...\t~5,1f% of ~d files" ;FIXME: i18n
|
||||
(* 100. (/ completed total)) total)
|
||||
(force-output log-port)
|
||||
(format debug-port "~%compiling '~a'...~%" file))))))
|
||||
(format debug-port "~%compiling '~a'...~%" file)))))))
|
||||
|
||||
(newline)
|
||||
#t)
|
||||
|
|
Loading…
Reference in New Issue