Archived
1
0
Fork 0

system: Add "en_US.UTF-8" to the default locales, for backward compatibility.

* gnu/system/locale.scm (%default-locale-definitions): Add
  "en_US.UTF-8".
This commit is contained in:
Ludovic Courtès 2015-01-16 15:40:10 +01:00
parent 8f4b1dfb77
commit 24004073f0

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -89,6 +89,11 @@
(utf8-locales (syntax-rules () (utf8-locales (syntax-rules ()
((_ name ...) ((_ name ...)
(list (utf8-locale name) ...))))) (list (utf8-locale name) ...)))))
;; Add "en_US.UTF-8" for compatibility with Guix 0.8.
(cons (locale-definition
(name "en_US.UTF-8")
(source "en_US")
(charset "UTF-8"))
(utf8-locales "ca_ES" (utf8-locales "ca_ES"
"cs_CZ" "cs_CZ"
"da_DK" "da_DK"
@ -121,6 +126,6 @@
"tr_TR" "tr_TR"
"uk_UA" "uk_UA"
"vi_VN" "vi_VN"
"zh_CN"))) "zh_CN"))))
;;; locale.scm ends here ;;; locale.scm ends here