summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-02 09:03:09 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:12 -0400
commit1b497bd6c65d5f3accbfa354406133da8551e097 (patch)
tree03f52538be2cbb004106b1b0ca3c667f3772c878
parent0198bf5a793b4de1bd9b6015b16fd4a4921acfa4 (diff)
downloadguix-1b497bd6c65d5f3accbfa354406133da8551e097.tar.gz
gnu: ruby-standard: Relax requirements.
* gnu/packages/ruby.scm (ruby-standard)
[arguments]: Add relax-requirements phase.
-rw-r--r--gnu/packages/ruby.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7e21ab043a..381a009959 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1822,6 +1822,13 @@ Batch and flush behavior.
            (lambda _
              ;; Some tests fail otherwise.
              (setenv "HOME" "/tmp")))
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "standard.gemspec"
+               (("\"rubocop\", \"1.44.1\"")
+                "\"rubocop\", \">= 1.44.1\"")
+               (("\"rubocop-performance\", \"1.15.2\"")
+                "\"rubocop-performance\", \">= 1.15.2\""))))
          (add-after 'unpack 'delete-problematic-tests
            ;; These tests fail for unknown reasons (see:
            ;; https://github.com/testdouble/standard/issues/532).