gnu: ruby: Update to 2.6.5.

Make zlib a propagated-input, as the pkgconfig configuration includes linking
against zlib as default, which means that gems with native components will
fail to build without zlib.

* gnu/packages/ruby.scm (ruby): Update to 2.6.5.
This commit is contained in:
Christopher Baines 2020-01-13 19:59:05 +00:00
parent f6d7df3cee
commit 4914c157fd
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -78,7 +78,7 @@ (define-module (gnu packages ruby)
(define-public ruby
(package
(name "ruby")
(version "2.5.3")
(version "2.6.5")
(source
(origin
(method url-fetch)
@ -87,7 +87,7 @@ (define-public ruby
"/ruby-" version ".tar.xz"))
(sha256
(base32
"0vrhrw7kcz9mg0jkqnihkcxqy5k05v8k1j0y2735z8wfk8sx1j8w"))
"0qhsw2mr04f3lqinkh557msr35pb5rdaqy4vdxcj91flgxqxmmnm"))
(modules '((guix build utils)))
(snippet `(begin
;; Remove bundled libffi
@ -118,8 +118,9 @@ (define-public ruby
`(("readline" ,readline)
("openssl" ,openssl)
("libffi" ,libffi)
("gdbm" ,gdbm)
("zlib" ,zlib)))
("gdbm" ,gdbm)))
(propagated-inputs
`(("zlib" ,zlib)))
(native-search-paths
(list (search-path-specification
(variable "GEM_PATH")