guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

55/59: gnu: ruby-hydra: Fix build.


From: guix-commits
Subject: 55/59: gnu: ruby-hydra: Fix build.
Date: Wed, 28 Jun 2023 05:55:19 -0400 (EDT)

cbaines pushed a commit to branch ruby-team
in repository guix.

commit a27704f31deb4fb2deab8efa9410bb45d1f777dc
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Jun 28 08:52:56 2023 +0100

    gnu: ruby-hydra: Fix build.
    
    * gnu/packages/ruby.scm (ruby-hydra)[arguments]: Update style.
    [propagated-inputs]: Remove ruby-byebug.
---
 gnu/packages/ruby.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c905d61434..f947afce0c 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.")))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]