~ruther/guix-local

12bae54d87efdc12741d0f3d382a755358c35055 — NoĆ© Lopez 2 months ago a87435e
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 <rutherther@ditigal.xyz>
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/lisp.scm
M gnu/packages/lisp.scm => gnu/packages/lisp.scm +7 -0
@@ 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