guix-commits
[Top][All Lists]
Advanced

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

95/100: gnu: ruby-flores: Fix build.


From: guix-commits
Subject: 95/100: gnu: ruby-flores: Fix build.
Date: Mon, 10 Jul 2023 03:27:40 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 3f91e3e81d65c57f345f8ba0643927f2d921299b
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Jul 4 16:15:47 2023 +0100

    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.
---
 gnu/packages/ruby.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 20fcd7f462..2433739750 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4344,12 +4344,13 @@ fiber, and defaults to a shared thread-local state.")
                 "0pd8gqgy67rp1baq5r7himl0r9jzv5kqlhdmqh8wngynv548w2ai"))))
     (build-system ruby-build-system)
     (arguments
-     (list #:phases
+     (list #:ruby ruby-2.7
+           #:phases
            #~(modify-phases %standard-phases
                (replace 'check
                  (lambda* (#:key tests? #:allow-other-keys)
                    (when tests?
-                     (invoke "rspec")))))))
+                     (invoke "ruby" (which "rspec"))))))))
     (native-inputs (list ruby-rspec ruby-simplecov))
     (synopsis "Fuzzing, randomization, and stress testing library")
     (description "Flores is a fuzzing, randomization, and stress library to



reply via email to

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