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'.master
parent
8515ea12d2
commit
000e7a0abc
|
@ -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
|
||||
|
|
Reference in New Issue