From cc666a69f7a249f30f67a521d47138e814f0d6c5 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Thu, 18 Jan 2024 21:59:34 +0000 Subject: [PATCH] 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 Change-Id: Ifd267ce38fa5b3a1c4712bde5345f2ef864cde06 --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 73191a9846..2b655f4066 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -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")