1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-12 12:34:06 +02:00

vm: expression->derivation-in-linux-vm: Run in a UTF-8 locale.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add calls to
'setenv' and 'setlocale'.
This commit is contained in:
Ludovic Courtès
2020-11-10 21:49:15 +01:00
parent 8515ea12d2
commit 000e7a0abc
+6
View File
@@ -224,6 +224,12 @@ substitutable."
(use-modules (guix build utils)
(gnu build vm))
;; Allow non-ASCII file names--e.g., 'nss-certs'--to be decoded
;; by 'estimated-partition-size' below.
(setenv "GUIX_LOCPATH"
#+(file-append glibc-utf8-locales "/lib/locale"))
(setlocale LC_ALL "en_US.utf8")
(let* ((native-inputs
'#+(list qemu (canonical-package coreutils)))
(linux (string-append