mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05: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:
parent
8515ea12d2
commit
000e7a0abc
1 changed files with 6 additions and 0 deletions
|
@ -224,6 +224,12 @@ (define builder
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue