services: cuirass: Run in a UTF-8 locale.

Fixes <https://issues.guix.gnu.org/73751>.

* gnu/services/cuirass.scm (cuirass-shepherd-service): Add ‘LC_ALL’.

Reported-by: Noé Lopez <noelopez@free.fr>
Change-Id: I9121a213405d287e2f15338c8608153e11c2508d
This commit is contained in:
Ludovic Courtès 2024-12-12 12:12:12 +01:00
parent 8cbbe12eff
commit 33bed95107
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -184,7 +184,8 @@ (define (cuirass-shepherd-service config)
#$@extra-options)
#:environment-variables
(list "GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt"
(list "LC_ALL=C.UTF-8" ;for proper file name decoding
"GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt"
(string-append "GIT_EXEC_PATH=" #$git
"/libexec/git-core"))