guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68575] [PATCH core-updates 2/3] gnu: openjdk9: Fix build.


From: Greg Hogan
Subject: [bug#68575] [PATCH core-updates 2/3] gnu: openjdk9: Fix build.
Date: Thu, 18 Jan 2024 21:59:34 +0000

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

Change-Id: I7fb54b917a058584bcdee0fb5575b8eaba4f7edd
---
 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 ce75c1cadb..9ff85355d5 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1032,8 +1032,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")
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]