aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-aux/build-self.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 6a3b9c83d4..dd845d1596 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -356,14 +356,17 @@ interface (FFI) of Guile.")
(display
(and=>
- (run-with-store store
- (guix-derivation source version
- #$guile-version
- #:channel-metadata
- '#$channel-metadata
- #:pull-version
- #$pull-version)
- #:system system)
+ ;; Silence autoload warnings and the likes.
+ (parameterize ((current-warning-port
+ (%make-void-port "w")))
+ (run-with-store store
+ (guix-derivation source version
+ #$guile-version
+ #:channel-metadata
+ '#$channel-metadata
+ #:pull-version
+ #$pull-version)
+ #:system system))
derivation-file-name))))))
#:module-path (list source))))