gnu: openjdk9: Fix build.

* gnu/packages/java.scm (openjdk9)[arguments]: Use C.UTF-8 locale in
'install-keystore phase.

Change-Id: I7fb54b917a058584bcdee0fb5575b8eaba4f7edd

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifd267ce38fa5b3a1c4712bde5345f2ef864cde06
This commit is contained in:
Greg Hogan 2024-01-18 21:59:34 +00:00 committed by Ludovic Courtès
parent 0164655e1d
commit cc666a69f7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1035,8 +1035,8 @@ (define (import-cert cert)
;; This is necessary because the certificate directory contains
;; files with non-ASCII characters in their names.
(setlocale LC_ALL "en_US.utf8")
(setenv "LC_ALL" "en_US.utf8")
(setlocale LC_ALL "C.UTF-8")
(setenv "LC_ALL" "C.UTF-8")
(copy-file (string-append (assoc-ref outputs "out")
"/lib/security/cacerts")