Subject: [PATCH 39/88] gnu: ruby-skiptrace: Fix minitest.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:27:26 +0200

* gnu/packages/ruby-xyz.scm (ruby-skiptrace)[arguments]{phases}: Add
phase 'patch-minitest.
---
 gnu/packages/ruby-xyz.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 240d4d998e..4f1212a52a 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -9669,6 +9669,11 @@ (define-public ruby-skiptrace
             (lambda _
               (substitute* "skiptrace.gemspec"
                 (("`git ls-files -z`") "`find . -type f -print0 |sort -z`"))))
+          (add-after 'unpack 'patch-minitest
+            (lambda _
+              (substitute* "test/test_helper.rb"
+                (("MiniTest")
+                 "Minitest"))))
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
-- 
2.49.0