gnu: glibc: Add version 2.31.

* gnu/packages/base.scm (glibc-2.31): New variable.
* gnu/system/locale.scm (%default-locale-libcs): Add it.
This commit is contained in:
Ludovic Courtès 2020-09-20 23:11:55 +02:00
parent 3b49071fd1
commit 855bc05e11
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 12 additions and 1 deletions

View file

@ -956,6 +956,17 @@ (define (linker-script? file)
;; Below are old libc versions, which we use mostly to build locale data in
;; the old format (which the new libc cannot cope with.)
(define-public glibc-2.31
(package
(inherit glibc)
(version "2.31")
(source (origin
(inherit (package-source glibc))
(uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz"))
(sha256
(base32
"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj"))))))
(define-public glibc-2.30
(package
(inherit glibc)

View file

@ -147,7 +147,7 @@ (define* (locale-directory locales
(define %default-locale-libcs
;; The libcs for which we build locales by default.
(list glibc))
(list glibc-2.31 glibc))
(define %default-locale-definitions
;; Arbitrary set of locales that are built by default. They are here mostly