build-self: Silent Guile warnings while computing the derivation.
In particular, silence the Guile-Git autoload warnings introduced by
c1940fde43
.
* build-aux/build-self.scm (build-program): Wrap 'guix-derivation' call
in 'parameterize'.
master
parent
b93d7daeaf
commit
ef2b9322fa
|
@ -356,6 +356,9 @@ interface (FFI) of Guile.")
|
|||
|
||||
(display
|
||||
(and=>
|
||||
;; Silence autoload warnings and the likes.
|
||||
(parameterize ((current-warning-port
|
||||
(%make-void-port "w")))
|
||||
(run-with-store store
|
||||
(guix-derivation source version
|
||||
#$guile-version
|
||||
|
@ -363,7 +366,7 @@ interface (FFI) of Guile.")
|
|||
'#$channel-metadata
|
||||
#:pull-version
|
||||
#$pull-version)
|
||||
#:system system)
|
||||
#:system system))
|
||||
derivation-file-name))))))
|
||||
#:module-path (list source))))
|
||||
|
||||
|
|
Reference in New Issue