Subject: [PATCH 41/88] gnu: ruby-sassc: Fix minitest.

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

* gnu/packages/ruby-xyz.scm (ruby-sassc)[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 aef36ffb8a..cae53c8fb5 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -12596,6 +12596,11 @@ (define-public ruby-sassc
                   (ice-9 textual-ports))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-minitest
+           (lambda _
+             (substitute* (find-files "test" "\\.rb$")
+               (("MiniTest")
+                "Minitest"))))
          ;; TODO: This would be better as a snippet, but the ruby-build-system
          ;; doesn't seem to support that
          (add-after 'unpack 'remove-libsass
-- 
2.49.0