summaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-24 14:00:58 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-24 14:00:58 +0200
commitf77993bb50ad2bb02664697d81d4b12f2a0923b9 (patch)
tree0773be24d14865819e04eaf22f17e8f91dde72d9 /gnu/packages/base.scm
parent8f5e835b0e51a1af173bb969f19c5f1385818b79 (diff)
downloadpatches-f77993bb50ad2bb02664697d81d4b12f2a0923b9.tar
patches-f77993bb50ad2bb02664697d81d4b12f2a0923b9.tar.gz
gnu: Add locale packages for glibc 2.28.
* gnu/packages/base.scm (glibc-locales-2.28, glibc-utf8-locales-2.28): New variables. (glibc-locales-2.27, glibc-utf8-locales-2.27): Deprecate.
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r--gnu/packages/base.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index ebaa93f092..4e80a2fadb 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1126,12 +1126,19 @@ test environments.")
(define-public glibc-utf8-locales
(make-glibc-utf8-locales glibc))
-(define-public glibc-locales-2.27
- (package (inherit (make-glibc-locales glibc-2.27))
- (name "glibc-locales-2.27")))
+;; Packages provided to ease use of binaries linked against the previous libc.
+(define-public glibc-locales-2.28
+ (package (inherit (make-glibc-locales glibc-2.28))
+ (name "glibc-locales-2.28")))
+(define-public glibc-utf8-locales-2.28
+ (package (inherit (make-glibc-utf8-locales glibc-2.28))
+ (name "glibc-utf8-locales-2.28")))
+
+;; These should no longer be needed.
(define-public glibc-utf8-locales-2.27
- (package (inherit (make-glibc-utf8-locales glibc-2.27))
- (name "glibc-utf8-locales-2.27")))
+ (deprecated-package "glibc-utf8-locales-2.27" glibc-utf8-locales-2.28))
+(define-public glibc-locales-2.27
+ (deprecated-package "glibc-locales-2.27" glibc-locales-2.28))
(define-public which
(package