gnu: ruby-hydra: Fix build.

* gnu/packages/ruby.scm (ruby-hydra)[arguments]: Update style.
[propagated-inputs]: Remove ruby-byebug.
This commit is contained in:
Christopher Baines 2023-06-28 08:52:56 +01:00
parent 219382c570
commit ea9a1e0289
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -3704,18 +3704,18 @@ (define-public ruby-hydra
(inherit ruby-hydra-minimal)
(name "ruby-hydra")
(arguments
'(#:phases (modify-phases %standard-phases
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "."))
#t))
(replace 'check
(lambda _
(invoke "rspec"))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "."))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec")))))))
(native-inputs
(list ruby-rspec))
(propagated-inputs
(list ruby-byebug))
(description
"ruby-hydra is a Ruby library for working with hyphenation patterns.")))