vm: Build ISOs and VM images in a UTF-8 environment.
commit9c941364bfc0120e3ab5c5c4cc71a9a302d59a2b
authorLudovic Courtès <ludo@gnu.org>
Wed, 1 May 2019 19:11:22 +0000 (1 21:11 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 1 May 2019 19:11:22 +0000 (1 21:11 +0200)
tree577c20dc468cd1dee43c626d690a7471445ba7ea
parent17acc215bfee2d5ee487add8fc8917fbf9d61132
vm: Build ISOs and VM images in a UTF-8 environment.

Fixes a bug whereby building an image containing non-ASCII file names
would fail due to improper decoding of file names.

* gnu/system/vm.scm (iso9660-image, qemu-image): Set GUIX_LOCPATH and
call 'setlocale' in the build environment.
gnu/system/vm.scm