[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: self: Remove 'eval-when' from in generated (guix config).
From: |
Ludovic Courtès |
Subject: |
05/08: self: Remove 'eval-when' from in generated (guix config). |
Date: |
Tue, 10 Apr 2018 19:03:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 63cab4182d60dd228dccc03c149ac01bf100301a
Author: Ludovic Courtès <address@hidden>
Date: Wed Apr 11 00:22:03 2018 +0200
self: Remove 'eval-when' from in generated (guix config).
* guix/self.scm (make-config.scm): Remove unneeded 'eval-when'.
---
guix/self.scm | 76 +++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 39 deletions(-)
diff --git a/guix/self.scm b/guix/self.scm
index 2275ab5..dd61322 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -399,45 +399,43 @@ list of file-name/file-like objects suitable as inputs to
'imported-files'."
%xz
%nix-instantiate))
- ;; XXX: Work around <http://bugs.gnu.org/15602>.
- (eval-when (expand load eval)
- #$@(map (match-lambda
- ((name . value)
- #~(define-public #$name #$value)))
- %config-variables)
-
- (define %guix-package-name #$package-name)
- (define %guix-version #$package-version)
- (define %guix-bug-report-address #$bug-report-address)
- (define %guix-home-page-url #$home-page-url)
-
- (define %sbindir
- ;; This is used to define '%guix-register-program'.
- ;; TODO: Use a derivation that builds nothing but the
- ;; C++ part.
- #+(and guix (file-append guix "/sbin")))
-
- (define %guix-register-program
- (or (getenv "GUIX_REGISTER")
- (and %sbindir
- (string-append %sbindir "/guix-register"))))
-
- (define %gzip
- #+(and gzip (file-append gzip "/bin/gzip")))
- (define %bzip2
- #+(and bzip2 (file-append bzip2 "/bin/bzip2")))
- (define %xz
- #+(and xz (file-append xz "/bin/xz")))
-
- (define %libgcrypt
- #+(and libgcrypt
- (file-append libgcrypt "/lib/libgcrypt")))
- (define %libz
- #+(and zlib
- (file-append zlib "/lib/libz")))
-
- (define %nix-instantiate ;for (guix import snix)
- "nix-instantiate")))))
+ #$@(map (match-lambda
+ ((name . value)
+ #~(define-public #$name #$value)))
+ %config-variables)
+
+ (define %guix-package-name #$package-name)
+ (define %guix-version #$package-version)
+ (define %guix-bug-report-address #$bug-report-address)
+ (define %guix-home-page-url #$home-page-url)
+
+ (define %sbindir
+ ;; This is used to define '%guix-register-program'.
+ ;; TODO: Use a derivation that builds nothing but the
+ ;; C++ part.
+ #+(and guix (file-append guix "/sbin")))
+
+ (define %guix-register-program
+ (or (getenv "GUIX_REGISTER")
+ (and %sbindir
+ (string-append %sbindir "/guix-register"))))
+
+ (define %gzip
+ #+(and gzip (file-append gzip "/bin/gzip")))
+ (define %bzip2
+ #+(and bzip2 (file-append bzip2 "/bin/bzip2")))
+ (define %xz
+ #+(and xz (file-append xz "/bin/xz")))
+
+ (define %libgcrypt
+ #+(and libgcrypt
+ (file-append libgcrypt "/lib/libgcrypt")))
+ (define %libz
+ #+(and zlib
+ (file-append zlib "/lib/libz")))
+
+ (define %nix-instantiate ;for (guix import snix)
+ "nix-instantiate"))))
- branch master updated (792ddfd -> eb72cdf), Ludovic Courtès, 2018/04/10
- 01/08: gnu: guix: Update to 486de73., Ludovic Courtès, 2018/04/10
- 02/08: gnu: tlsdate: Fix compilation on aarch64-linux-gnu., Ludovic Courtès, 2018/04/10
- 03/08: gnu: libtorrent-rasterbar: Add CXXFLAGS., Ludovic Courtès, 2018/04/10
- 04/08: gnu: Add qBittorrent., Ludovic Courtès, 2018/04/10
- 06/08: self: 'package-for-guile' really honors GUILE-VERSION., Ludovic Courtès, 2018/04/10
- 07/08: gexp: 'scheme-file' can splice expressions., Ludovic Courtès, 2018/04/10
- 05/08: self: Remove 'eval-when' from in generated (guix config).,
Ludovic Courtès <=
- 08/08: self: Produce a spliced (guix config) to placate Guile 2.0., Ludovic Courtès, 2018/04/10