me
/
guix
Archived
1
0
Fork 0

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
Ludovic Courtès 2020-11-10 21:49:15 +01:00
parent 8515ea12d2
commit 000e7a0abc
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 0 deletions

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