diff options
author | Christopher Baines <mail@cbaines.net> | 2023-06-28 08:52:56 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-07-10 08:26:00 +0100 |
commit | ea9a1e0289d368646c809fd7ee5c471dcb1ec629 (patch) | |
tree | 654e3ebd883e355924c0b2d90ce4aa79b0a300df /gnu/packages/ruby.scm | |
parent | 219382c5701a4b43ff2518f71a5e8897dd55ab4f (diff) | |
download | guix-ea9a1e0289d368646c809fd7ee5c471dcb1ec629.tar.gz guix-ea9a1e0289d368646c809fd7ee5c471dcb1ec629.zip |
gnu: ruby-hydra: Fix build.
* gnu/packages/ruby.scm (ruby-hydra)[arguments]: Update style.
[propagated-inputs]: Remove ruby-byebug.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8a6ba02d92..33443038c3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3704,18 +3704,18 @@ It is a low-dependency variant of 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."))) |