From 12bae54d87efdc12741d0f3d382a755358c35055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Lopez?= Date: Sun, 14 Dec 2025 03:02:22 +0100 Subject: [PATCH] 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 --- gnu/packages/lisp.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index bace6ec90497ce04686e40b281fdc1ab3b47ecd0..6e8f1bbb66168f969b4a8523ffb06437a80a9488 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