gnu: ruby@2.7: Incorporate grafted changes.

* gnu/packages/ruby.scm (ruby-2.7): Update to 2.7.6.
[replacement]: Remove.
(ruby-2.7-fixed): Remove variable.
This commit is contained in:
Marius Bakke 2022-08-31 00:02:49 +02:00
parent 58863b93b0
commit 7db5168db1
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -154,8 +154,7 @@ (define-public ruby-2.6
(define-public ruby-2.7
(package
(inherit ruby-2.6)
(version "2.7.4")
(replacement ruby-2.7-fixed) ; security fixes
(version "2.7.6")
(source
(origin
(inherit (package-source ruby-2.6))
@ -164,7 +163,7 @@ (define-public ruby-2.7
"/ruby-" version ".tar.gz"))
(sha256
(base32
"0nxwkxh7snmjqf787qsp4i33mxd1rbf9yzyfiky5k230i680jhrh"))))
"042xrdk7hsv4072bayz3f8ffqh61i8zlhvck10nfshllq063n877"))))
(arguments
`(#:test-target "test"
#:configure-flags '("--enable-shared") ; dynamic linking
@ -190,20 +189,6 @@ (define-public ruby-2.7
(native-inputs
(list autoconf))))
(define ruby-2.7-fixed
(package
(inherit ruby-2.7)
(version "2.7.6")
(source
(origin
(inherit (package-source ruby-2.7))
(uri (string-append "https://cache.ruby-lang.org/pub/ruby/"
(version-major+minor version)
"/ruby-" version ".tar.gz"))
(sha256
(base32
"042xrdk7hsv4072bayz3f8ffqh61i8zlhvck10nfshllq063n877"))))))
(define-public ruby-3.0
(package
(inherit ruby-2.7)