summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/self.scm6
1 files changed, 6 insertions, 0 deletions
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