guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/59: gnu: ruby-rspec-core-2: Fix build.


From: guix-commits
Subject: 05/59: gnu: ruby-rspec-core-2: Fix build.
Date: Wed, 28 Jun 2023 05:55:10 -0400 (EDT)

cbaines pushed a commit to branch ruby-team
in repository guix.

commit b6df591cc75403f99fb5aa9bdddf3f5e165d603d
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Jun 21 10:10:18 2023 +0100

    gnu: ruby-rspec-core-2: Fix build.
    
    * gnu/packages/ruby.scm (ruby-rspec-core-2)[arguments]: Add patch phase.
---
 gnu/packages/ruby.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]