guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 88eb6aae4eee7a57d174b4f5eb3218126e831767
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jun 18 16:27:38 2025 +0200
gnu: ruby-bindex: Fix minitest.
* gnu/packages/ruby-xyz.scm (ruby-bindex)[arguments]{phases}: Add
phase 'patch-minitest.
[native-inputs]: Add ruby-minitest.
---
gnu/packages/ruby-xyz.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index ce77b9114c..7f1dee987e 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -2559,6 +2559,11 @@ building block for authentication strategies.")
(arguments
'(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-minitest
+ (lambda _
+ (substitute* "test/lib/test_case.rb"
+ (("MiniTest::Unit::TestCase")
+ "Minitest::Test"))))
(add-after 'unpack 'patch
(lambda _
(substitute* "rakefile"
@@ -2569,6 +2574,7 @@ building block for authentication strategies.")
(lambda _
;; This is used in the rakefile when running the tests
(setenv "LIB" "open4"))))))
+ (native-inputs (list ruby-minitest))
(synopsis "Open child processes from Ruby and manage them easily")
(description
"@code{Open4} is a Ruby library to run child processes and manage their