summary refs log tree commit diff
diff options
context:
space:
mode:
authorMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-16 15:02:00 +0200
committerMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-18 17:55:40 +0200
commitd76b668cd6595d08761fa75d749ec943e792ea6f (patch)
treefcc98ee1210f28374ca99444bacd8e3224be6c8a
parentcfe9c7eceb00d6975b8d7ba8286ba03f0a7e64b5 (diff)
downloadguix-d76b668cd6595d08761fa75d749ec943e792ea6f.tar.gz
installer: Call setlocale after init gettext.
* gnu/installer.scm (installer-program)[init-gettext]: Change locale
from C, installed at the program start.
-rw-r--r--gnu/installer.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index c582a46c14..f401b242f8 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -308,7 +308,8 @@ selected keymap."
     ;; translated.
     #~(begin
         (bindtextdomain "guix" (string-append #$guix "/share/locale"))
-        (textdomain "guix")))
+        (textdomain "guix")
+        (setlocale LC_ALL "")))
 
   (define set-installer-path
     ;; Add the specified binary to PATH for later use by the installer.