summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-06-26 18:35:15 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-06-26 18:39:29 +0200
commit3f44034e8ff8df9e27c3c05c1db9d18a413f0ddc (patch)
tree15cef0f6ff3b2b0425f74b57767897d623ca6cfa
parent641631c1a2590acb1778ebb7b3a141beb8e7448b (diff)
downloadguix-3f44034e8ff8df9e27c3c05c1db9d18a413f0ddc.tar.gz
installer: Use latest Guile.
Since the installer is loading Guix modules built with Guile 3.0.4, the
installer script must be run by the same Guile version to avoid a bytecode
incompatibility.

This is a follow-up of a2991de0f44a5f4db71ddad67e914fe3344a4505.

* gnu/installer.scm (installer-program): Use guile3.0-latest for the
installation script.
-rw-r--r--gnu/installer.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 79113cb0ef..2c7315bde0 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -440,5 +440,6 @@ selected keymap."
        ;; some reason, unicode support is not correctly installed
        ;; when calling this in 'installer-builder'.
        (setenv "LANG" "en_US.UTF-8")
-       (execl #$(program-file "installer-real" installer-builder)
+       (execl #$(program-file "installer-real" installer-builder
+                              #:guile guile-3.0-latest)
               "installer-real"))))