aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-28 08:52:56 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:26:00 +0100
commitea9a1e0289d368646c809fd7ee5c471dcb1ec629 (patch)
tree654e3ebd883e355924c0b2d90ce4aa79b0a300df /gnu/packages/ruby.scm
parent219382c5701a4b43ff2518f71a5e8897dd55ab4f (diff)
downloadguix-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.scm20
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.")))