mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 19:49:25 -05:00
gnu: ruby-shindo: Remove -rubygems flags.
These have been removed in Ruby 2.5. * gnu/packages/ruby.scm (ruby-shindo)[arguments]: Change fix-tests phase to also remove the -rubygems flags.
This commit is contained in:
parent
357450dca0
commit
0b060e3486
1 changed files with 9 additions and 6 deletions
|
@ -1211,12 +1211,15 @@ (define-public ruby-shindo
|
|||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-tests
|
||||
(lambda _
|
||||
(substitute* "Rakefile"
|
||||
(("system \"shindo") "system \"./bin/shindo")
|
||||
;; This test doesn't work, so we disable it.
|
||||
(("fail \"The build_error test should fail") "#"))
|
||||
#t)))))
|
||||
(lambda _
|
||||
(substitute* "tests/tests_helper.rb"
|
||||
(("-rubygems") ""))
|
||||
(substitute* "Rakefile"
|
||||
(("system \"shindo") "system \"./bin/shindo")
|
||||
;; This test doesn't work, so we disable it.
|
||||
(("fail \"The build_error test should fail") "#")
|
||||
((" -rubygems") ""))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("ruby-formatador" ,ruby-formatador)))
|
||||
(synopsis "Simple depth first Ruby testing")
|
||||
|
|
Loading…
Reference in a new issue