From 855bc05e118913ddc5d4c544a77a2f82c9df929c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 20 Sep 2020 23:11:55 +0200 Subject: 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 fb60e3c99b..99ba427ccb 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 77a6ef8e46..4771192cfb 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 -- cgit 1.4.1