guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 55/100: gnu: ruby-hydra: Fix build.
Date: Mon, 10 Jul 2023 03:27:34 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit ea9a1e0289d368646c809fd7ee5c471dcb1ec629
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 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.")))
 



reply via email to

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