gnu: ruby-rspec-core-2: Fix build.

* gnu/packages/ruby.scm (ruby-rspec-core-2)[arguments]: Add patch phase.
This commit is contained in:
Christopher Baines 2023-06-21 10:10:18 +01:00
parent d426c5cd91
commit e3c51d43d9
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -680,6 +680,15 @@ (define-public ruby-rspec-core-2
(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