[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: glibc: Add version 2.31.
From: |
guix-commits |
Subject: |
01/03: gnu: glibc: Add version 2.31. |
Date: |
Sun, 20 Sep 2020 17:57:57 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 855bc05e118913ddc5d4c544a77a2f82c9df929c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Sep 20 23:11:55 2020 +0200
gnu: glibc: Add version 2.31.
* gnu/packages/base.scm (glibc-2.31): New variable.
* gnu/system/locale.scm (%default-locale-libcs): Add it.
---
gnu/packages/base.scm | 11 +++++++++++
gnu/system/locale.scm | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index fb60e3c..99ba427 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -956,6 +956,17 @@ with the Linux kernel.")
;; 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)
diff --git a/gnu/system/locale.scm b/gnu/system/locale.scm
index 77a6ef8..4771192 100644
--- a/gnu/system/locale.scm
+++ b/gnu/system/locale.scm
@@ -147,7 +147,7 @@ data format changes between libc versions."
(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