installer: Call setlocale after init gettext.

* gnu/installer.scm (installer-program)[init-gettext]: Change locale
from C, installed at the program start.
This commit is contained in:
Miguel Ángel Arruga Vivas 2020-10-16 15:02:00 +02:00
parent cfe9c7eceb
commit d76b668cd6
No known key found for this signature in database
GPG key ID: 634C6E8979FABEC2

View file

@ -308,7 +308,8 @@ (define init-gettext
;; translated. ;; translated.
#~(begin #~(begin
(bindtextdomain "guix" (string-append #$guix "/share/locale")) (bindtextdomain "guix" (string-append #$guix "/share/locale"))
(textdomain "guix"))) (textdomain "guix")
(setlocale LC_ALL "")))
(define set-installer-path (define set-installer-path
;; Add the specified binary to PATH for later use by the installer. ;; Add the specified binary to PATH for later use by the installer.