[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: self: Mark the generation (guix config) as non-declarative.
From: |
guix-commits |
Subject: |
01/10: self: Mark the generation (guix config) as non-declarative. |
Date: |
Mon, 14 Nov 2022 06:32:51 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 54003af85cc5b689bd328b30617c93ed2f5fd647
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Nov 14 11:05:22 2022 +0100
self: Mark the generation (guix config) as non-declarative.
Fixes <https://issues.guix.gnu.org/58927>.
Reported by Maxime Devos <maximedevos@telenet.be>
and Marius Bakke <marius@gnu.org>.
Starting from 076e825dc5d585943ce820a279fffe4af09757fb, "guix --version"
would print "0" as the version number, due to '%guix-version' being
inlined in (guix ui) when compiling '*core-modules*' in (guix self).
* guix/self.scm (make-config.scm): Pass #:declarative? #f.
---
guix/self.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/guix/self.scm b/guix/self.scm
index f46a09be52..93019e1c64 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -1090,6 +1090,12 @@ itself."
(scheme-file "config.scm"
#~(;; The following expressions get spliced.
(#$defmod (guix config)
+
+ ;; Mark it as non-declarative to prevent cross-module
+ ;; inlining that could lead to inlining %GUIX-VERSION in
+ ;; (guix ui).
+ #:declarative? #f
+
#:export (%guix-package-name
%guix-version
%guix-bug-report-address
- branch master updated (4cc746820a -> 4ba780aeb8), guix-commits, 2022/11/14
- 09/10: gnu: wf-recorder: Update to 0.3.0., guix-commits, 2022/11/14
- 05/10: gnu: Add siril., guix-commits, 2022/11/14
- 04/10: gnu: Add librtprocess., guix-commits, 2022/11/14
- 02/10: gnu: Add python-enoslib., guix-commits, 2022/11/14
- 08/10: gnu: swayidle: Update to 1.7.1., guix-commits, 2022/11/14
- 10/10: gnu: kanshi: Update to 1.3.0., guix-commits, 2022/11/14
- 03/10: gnu: Add clojure-data-csv., guix-commits, 2022/11/14
- 01/10: self: Mark the generation (guix config) as non-declarative.,
guix-commits <=
- 06/10: gnu: luajit: Update to commit 6c4826., guix-commits, 2022/11/14
- 07/10: gnu: Add snixembed., guix-commits, 2022/11/14