Archived
1
0
Fork 0

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 @@ It is a low-dependency variant of ruby-hydra.")
(inherit ruby-hydra-minimal) (inherit ruby-hydra-minimal)
(name "ruby-hydra") (name "ruby-hydra")
(arguments (arguments
'(#:phases (modify-phases %standard-phases (list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'make-files-writable (add-after 'unpack 'make-files-writable
(lambda _ (lambda _
(for-each make-file-writable (find-files ".")) (for-each make-file-writable (find-files "."))))
#t))
(replace 'check (replace 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(invoke "rspec")))))) (when tests?
(invoke "rspec")))))))
(native-inputs (native-inputs
(list ruby-rspec)) (list ruby-rspec))
(propagated-inputs
(list ruby-byebug))
(description (description
"ruby-hydra is a Ruby library for working with hyphenation patterns."))) "ruby-hydra is a Ruby library for working with hyphenation patterns.")))