mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-skiptrace: Fix minitest.
* gnu/packages/ruby-xyz.scm (ruby-skiptrace)[arguments]{phases}: Add phase 'patch-minitest.
This commit is contained in:
parent
ccd5d61d63
commit
11d5948481
1 changed files with 5 additions and 0 deletions
|
@ -9685,6 +9685,11 @@ API.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "skiptrace.gemspec"
|
(substitute* "skiptrace.gemspec"
|
||||||
(("`git ls-files -z`") "`find . -type f -print0 |sort -z`"))))
|
(("`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
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue