gnu: ruby-flores: Fix build.

There's a single test failure when the tests are run with ruby 3.1.

* gnu/packages/ruby.scm (ruby-flores)[arguments]: Add #:ruby ruby-2.7 and use
it.
This commit is contained in:
Christopher Baines 2023-07-04 16:15:47 +01:00
parent 97a934d45f
commit 3f91e3e81d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -4344,12 +4344,13 @@ (define-public ruby-flores
"0pd8gqgy67rp1baq5r7himl0r9jzv5kqlhdmqh8wngynv548w2ai")))) "0pd8gqgy67rp1baq5r7himl0r9jzv5kqlhdmqh8wngynv548w2ai"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list #:phases (list #:ruby ruby-2.7
#:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "rspec"))))))) (invoke "ruby" (which "rspec"))))))))
(native-inputs (list ruby-rspec ruby-simplecov)) (native-inputs (list ruby-rspec ruby-simplecov))
(synopsis "Fuzzing, randomization, and stress testing library") (synopsis "Fuzzing, randomization, and stress testing library")
(description "Flores is a fuzzing, randomization, and stress library to (description "Flores is a fuzzing, randomization, and stress library to