guix_mirror_bot pushed a commit to branch ungraft
in repository guix.

commit 15302aaac77619487f5b90926c907eb24c9b4886
Author: NoĆ© Lopez <[email protected]>
AuthorDate: Sun Dec 14 03:02:22 2025 +0100

    gnu: clisp: Fix some tests.
    
    Some tests were failing with locale errors. Either this fixes the issues, 
or I
    was lucky with the nondetermistism.
    
    * gnu/packages/lisp.scm (make-clisp-tests-locales): New function.
    (clisp)[native-inputs]: Add required locales for tests.
    
    Change-Id: I1205a34cc61520287aeb0f45190928c05cf3b493
    Signed-off-by: Rutherther <[email protected]>
---
 gnu/packages/lisp.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index bace6ec904..6e8f1bbb66 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -523,6 +523,12 @@ Definition Facility.")
     ;; MIT License
     (license license:expat)))
 
+(define (make-clisp-tests-locales)
+  (make-glibc-utf8-locales
+   glibc
+   #:locales (list "de_DE" "en_US" "fr_FR" "ru_RU")
+   #:name "clisp-tests-locales"))
+
 (define-public clisp
   (package
     (name "clisp")
@@ -539,6 +545,7 @@ Definition Facility.")
     (build-system gnu-build-system)
     (native-inputs
      (list
+      (make-clisp-tests-locales)
       cl-asdf
       coreutils)) ;to use "cat" in a test
     (inputs

Reply via email to