diff options
author | Christopher Baines <mail@cbaines.net> | 2023-06-21 10:10:18 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-07-10 08:25:55 +0100 |
commit | e3c51d43d928b68f64b5a6bd760687763c5f80da (patch) | |
tree | b1d963292e5f174a784f1077b2d2aa7adde024a6 /gnu/packages/ruby.scm | |
parent | d426c5cd9161026c278e46f4f9a682fbdc50673b (diff) |
gnu: ruby-rspec-core-2: Fix build.
* gnu/packages/ruby.scm (ruby-rspec-core-2)[arguments]: Add patch phase.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 9 |
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 |