Subject: bug#56322: [PATCH core-updates 2/3] gnu: ruby: fix unbundling of libffi for inheriting rubies

From: Remco van 't Veer <[email-masked]>
Date: Wed, 12 Oct 2022 15:35:28 +0200

* gnu/packages/ruby.scm (ruby-3.0, ruby-3.1): Inherit package-source to ensure inclusion of unbundling snippet
---
 gnu/packages/ruby.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 25d7aba933..bd55d5ac6d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -196,6 +196,7 @@ (define-public ruby-3.0
     (version "3.0.4")
     (source
      (origin
+       (inherit (package-source ruby-2.7))
        (method url-fetch)
        (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
                            (version-major+minor version)
@@ -213,6 +214,7 @@ (define-public ruby-3.1
     (version "3.1.2")
     (source
      (origin
+       (inherit (package-source ruby-3.0))
        (method url-fetch)
        (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
                            (version-major+minor version)
-- 
2.37.3