From ae66fdaf9f7971c0a1b33d0c20844e903ccd909c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 1 Aug 2018 15:48:26 +0200 Subject: gnu: Add glibc@2.28. * gnu/packages/base.scm (glibc-2.28): New public variable. --- gnu/packages/base.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index de0aa92adb..4065af0abc 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -873,6 +873,23 @@ (define* (glibc-for-target #:optional (define-syntax glibc (identifier-syntax (glibc-for-target))) +;; The "next" libc. Useful for populating locale data before reconfiguring the +;; entire system on it. Will be the default in the next rebuild cycle. +(define-public glibc-2.28 + (package + (inherit glibc) + (version "2.28") + (source (origin + (inherit (package-source glibc)) + (uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz")) + (sha256 + (base32 + "10iha5ynvdj5m62vgpgqbq4cwvc2yhyl2w9yyyjgfxmdmx8h145i")) + (patches (search-patches "glibc-allow-kernel-2.6.32.patch" + "glibc-ldd-x86_64.patch" + "glibc-hidden-visibility-ldconfig.patch" + "glibc-versioned-locpath.patch")))))) + ;; Below are old libc versions, which we use mostly to build locale data in ;; the old format (which the new libc cannot cope with.) -- cgit v1.2.3