summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-09-12 14:44:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-12 15:35:21 +0300
commit878124a8055bcc4ecf5b13cdedf004a3f456e6e5 (patch)
tree3a54eaa802002205bd7a43a0d6e8a7ba8fa2b48c /gnu/packages/ruby.scm
parent28dd51eefb46c5c308a702517a6446677fed501a (diff)
downloadguix-878124a8055bcc4ecf5b13cdedf004a3f456e6e5.tar.gz
gnu: ruby-ast: Adjust to newer ruby-rake version.
* gnu/packages/ruby.sm (ruby-ast)[arguments]: Adjust the gemspec file to
allow for newer versions of ruby-rake.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0182120f97..6f7fc10575 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1958,12 +1958,13 @@ PDF library.  It has features such as:
                (("Coveralls::SimpleCov::Formatter") ""))
              #t))
          (add-after 'extract-gemspec 'remove-unnecessary-requirements
-           (lambda _
+           (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "ast.gemspec"
                ((".*coveralls.*") "\n")
                (("%q<rest-client>.*") "%q<rest-client>.freeze, [\">= 0\"])\n")
                (("%q<mime-types>.*") "%q<mime-types>.freeze, [\">= 0\"])\n")
-               (("%q<rake>.*") "%q<rake>.freeze, [\">= 0\"])\n"))
+               (("%q<rake>.*") "%q<rake>.freeze, [\">= 0\"])\n")
+               (("12\\.3") "13.0"))
              #t)))))
     (native-inputs
      `(("bundler" ,bundler)