diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-12-10 21:46:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-12-10 21:46:59 +0100 |
commit | 3141a8bdb35a6df12975d335ee05409fc604ab4c (patch) | |
tree | cbd613bf0557113ca1118f7dd4c7a3557601f663 /gnu/system/vm.scm | |
parent | dfb74e50b790c9d31a1ff1f71f93d5230cc03924 (diff) | |
download | patches-3141a8bdb35a6df12975d335ee05409fc604ab4c.tar patches-3141a8bdb35a6df12975d335ee05409fc604ab4c.tar.gz |
gnu: Honor the operating system's locale and timezone.
* gnu/system.scm (etc-directory): Add 'locale' and 'timezone'
parameters. Set 'LC_ALL', 'TZ', and 'TZDIR' in /etc/profile.
(operating-system-derivation): Adjust call accordingly.
* gnu/system/vm.scm (%demo-operating-system): Change locale to
'en_US.UTF-8'. Add TZDATA to 'packages'.
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r-- | gnu/system/vm.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index a81c84672b..6c99fb1365 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -26,7 +26,7 @@ #:select (%final-inputs guile-final gcc-final glibc-final ld-wrapper binutils-final - coreutils findutils grep sed)) + coreutils findutils grep sed tzdata)) #:use-module (gnu packages guile) #:use-module (gnu packages bash) #:use-module (gnu packages less) @@ -411,7 +411,7 @@ such as /etc files." (operating-system (host-name "gnu") (timezone "Europe/Paris") - (locale "C.UTF-8") + (locale "en_US.UTF-8") (users (list (user-account (name "guest") (password "") @@ -434,6 +434,7 @@ such as /etc files." psmisc zile less + tzdata guix)))) (define* (system-qemu-image #:optional (os %demo-operating-system)) |