summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-21 10:10:18 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:25:55 +0100
commite3c51d43d928b68f64b5a6bd760687763c5f80da (patch)
treeb1d963292e5f174a784f1077b2d2aa7adde024a6 /gnu
parentd426c5cd9161026c278e46f4f9a682fbdc50673b (diff)
downloadguix-e3c51d43d928b68f64b5a6bd760687763c5f80da.tar.gz
gnu: ruby-rspec-core-2: Fix build.
* gnu/packages/ruby.scm (ruby-rspec-core-2)[arguments]: Add patch phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7f5a9e9b5e..bd36c646c4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -680,6 +680,15 @@ groups.")
               (sha256
                (base32
                 "0psjy5kdlz3ph39br0m01w65i1ikagnqlg39f8p65jh5q7dz8hwc"))))
+    (arguments
+     (cons*
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch
+            (lambda _
+              (substitute* "lib/rspec/core/ruby_project.rb"
+                (("File\\.exists\\?") "File.exist?")))))
+      (package-arguments ruby-rspec-core)))
     (propagated-inputs `())))
 
 (define-public ruby-date