[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: build-self: Silent Guile warnings while computing the derivation.
From: |
guix-commits |
Subject: |
03/07: build-self: Silent Guile warnings while computing the derivation. |
Date: |
Fri, 19 Mar 2021 18:04:02 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ef2b9322fae1d03bf639924d12214b0f58c11054
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Mar 19 21:33:37 2021 +0100
build-self: Silent Guile warnings while computing the derivation.
In particular, silence the Guile-Git autoload warnings introduced by
c1940fde43c7aca37d67589cc5cb248086d17d56.
* build-aux/build-self.scm (build-program): Wrap 'guix-derivation' call
in 'parameterize'.
---
build-aux/build-self.scm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 6a3b9c8..dd845d1 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))))
- branch master updated (1ab03fb -> 6457985), guix-commits, 2021/03/19
- 01/07: download: 'tls-wrap' treats premature TLS termination as EOF., guix-commits, 2021/03/19
- 02/07: doc: Add 'shepherd-service' example., guix-commits, 2021/03/19
- 03/07: build-self: Silent Guile warnings while computing the derivation.,
guix-commits <=
- 04/07: gnu: Add git2cl., guix-commits, 2021/03/19
- 05/07: gnu: Add fzf., guix-commits, 2021/03/19
- 06/07: gnu: abseil-cpp: Update to 20200923.3., guix-commits, 2021/03/19
- 07/07: gnu: abseil-cpp: Patch sterror_test., guix-commits, 2021/03/19