summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-27 12:03:16 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:25:58 +0100
commit280c0f092dbd9565414a4e9dd9d1ef7958cc2c71 (patch)
tree63fb6c160b2ce0521e55260c8797d086084dcab8
parent0fb053f923a105035bdcb65a84935aa64651fe23 (diff)
downloadguix-280c0f092dbd9565414a4e9dd9d1ef7958cc2c71.tar.gz
gnu: ruby-minitest-bonus-assertions: Fix build.
* gnu/packages/ruby.scm (ruby-minitest-bonus-assertions)[arguments]: Update
style.
[native-inputs]: Remove ruby-minitest-pretty-diff.
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 12 insertions, 11 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 54b9496bd9..2dc7b988c1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5716,18 +5716,19 @@ MiniTest @code{Object#stub} with a global @code{stub} method.")
          "1hbq9jk904xkz868yha1bqcm6azm7kmjsll2k4pn2nrcib508h2a"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:tests? #f          ; Test suite has bitrotted.
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'clean-dependencies
-           (lambda _
-             ;; Remove unneeded require statement that would entail another
-             ;; dependency.
-             (substitute* "test/minitest_config.rb"
-               (("require 'minitest/bisect'") ""))
-             #t)))))
+     (list
+      #:tests? #f          ; Test suite has bitrotted.
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'clean-dependencies
+            (lambda _
+              ;; Remove unneeded require statement that would entail another
+              ;; dependency.
+              (substitute* "test/minitest_config.rb"
+                (("require 'minitest/bisect'") "")))))))
     (native-inputs
-     (list ruby-hoe ruby-minitest-pretty-diff ruby-minitest-focus
+     (list ruby-hoe
+           ruby-minitest-focus
            ruby-minitest-moar))
     (synopsis "Bonus assertions for @code{Minitest}")
     (description