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,14 +356,17 @@ interface (FFI) of Guile.")
|
||||||
|
|
||||||
(display
|
(display
|
||||||
(and=>
|
(and=>
|
||||||
(run-with-store store
|
;; Silence autoload warnings and the likes.
|
||||||
(guix-derivation source version
|
(parameterize ((current-warning-port
|
||||||
#$guile-version
|
(%make-void-port "w")))
|
||||||
#:channel-metadata
|
(run-with-store store
|
||||||
'#$channel-metadata
|
(guix-derivation source version
|
||||||
#:pull-version
|
#$guile-version
|
||||||
#$pull-version)
|
#:channel-metadata
|
||||||
#:system system)
|
'#$channel-metadata
|
||||||
|
#:pull-version
|
||||||
|
#$pull-version)
|
||||||
|
#:system system))
|
||||||
derivation-file-name))))))
|
derivation-file-name))))))
|
||||||
#:module-path (list source))))
|
#:module-path (list source))))
|
||||||
|
|
||||||
|
|
Reference in New Issue