Subject: [PATCH 44/88] gnu: ruby-sass: Fix minitest.

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

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

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index e6f662bd67..931b280e87 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -12577,7 +12577,14 @@ (define-public ruby-sass
         (base32 "03215h9jkni3l9w6lq28p8adaj3qzb47qgxd20l6kldjnm1a1yky"))))
     (build-system ruby-build-system)
     (arguments
-     (list #:test-target "test:ruby"))
+     (list #:test-target "test:ruby"
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-minitest
+                 (lambda _
+                   (substitute* (find-files "test" "\\.rb$")
+                     (("MiniTest")
+                      "Minitest")))))))
     (propagated-inputs
      (list ruby-sass-listen))
     (native-inputs
-- 
2.49.0