[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: self: Produce a spliced (guix config) to placate Guile 2.0.
From: |
Ludovic Courtès |
Subject: |
08/08: self: Produce a spliced (guix config) to placate Guile 2.0. |
Date: |
Tue, 10 Apr 2018 19:03:55 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit eb72cdf087fe51d85e0c1514ec8e669047b5d6e1
Author: Ludovic Courtès <address@hidden>
Date: Wed Apr 11 00:55:13 2018 +0200
self: Produce a spliced (guix config) to placate Guile 2.0.
Fixes 'guix pull' with Guile 2.0.
See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27284#153>.
* guix/self.scm (make-config.scm): Remove 'begin' in 'scheme-file'
argument and pass #:splice? #t.
---
guix/self.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/guix/self.scm b/guix/self.scm
index 0730cd8..6220efb 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -384,7 +384,7 @@ list of file-name/file-like objects suitable as inputs to
'imported-files'."
(define defmod 'define-module)
(scheme-file "config.scm"
- #~(begin
+ #~(;; The following expressions get spliced.
(#$defmod (guix config)
#:export (%guix-package-name
%guix-version
@@ -435,7 +435,12 @@ list of file-name/file-like objects suitable as inputs to
'imported-files'."
(file-append zlib "/lib/libz")))
(define %nix-instantiate ;for (guix import snix)
- "nix-instantiate"))))
+ "nix-instantiate"))
+
+ ;; Guile 2.0 *requires* the 'define-module' to be at the
+ ;; top-level or it 'toplevel-ref' in the resulting .go file are
+ ;; made relative to a nonexistent anonymous module.
+ #:splice? #t))
- 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, 2018/04/10
- 08/08: self: Produce a spliced (guix config) to placate Guile 2.0.,
Ludovic Courtès <=