diff options
author | Attila Lendvai <attila@lendvai.name> | 2022-04-19 20:09:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-20 23:46:43 +0200 |
commit | 8852f911ff506dd50b714274ba0e2143f0285f78 (patch) | |
tree | 3dc95d468f3b14a82c65884d499496942ed7fafd /gnu/packages/wm.scm | |
parent | 8540c2d86ca535ceb188c838cf1885de6f65c94f (diff) | |
download | guix-8852f911ff506dd50b714274ba0e2143f0285f78.tar guix-8852f911ff506dd50b714274ba0e2143f0285f78.tar.gz |
git-download: Set locale to deal with Unicode in git metadata.
Without this the git-fetch GEXP is run in an environment that uses ASCII
character encoding when strings are crossing the Guile - C boundary. It means
that e.g. tag names that have Unicode chars in them will cause problems,
e.g. when walking and deleting the .git directory.
An example in the wild: https://github.com/klauspost/pgzip/tags
Fixes <https://issues.guix.gnu.org/54893>.
* guix/git-download.scm (git-fetch): Call 'setenv' and 'setlocale' to
set it to en_US.utf8.
* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public.
Add 'properties' field.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/wm.scm')
0 files changed, 0 insertions, 0 deletions