diff options
author | Timothy Sample <samplet@ngyro.com> | 2019-07-16 10:04:58 -0400 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2019-07-16 21:53:05 -0400 |
commit | 2a80d9e55299214a3f0b4f585767b4c81c9d5c7d (patch) | |
tree | d3500099c0be28288352092cff33c8cefa908187 | |
parent | 3d0b40ad7c369534f7f4c0c148b5b3b3ddc73542 (diff) | |
download | guix-2a80d9e55299214a3f0b4f585767b4c81c9d5c7d.tar guix-2a80d9e55299214a3f0b4f585767b4c81c9d5c7d.tar.gz |
system: Write the timezone to /etc/timezone.
* gnu/system.scm (operating-system-etc-service): Write the operating
system timezone to /etc/timezone.
Fixes <https://bugs.gnu.org/35746>.
-rw-r--r-- | gnu/system.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index 01be1243fe..485896ba0a 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -716,6 +716,10 @@ fi\n"))) ;; to certain networks. Some discussion at ;; https://lists.gnu.org/archive/html/help-guix/2017-09/msg00037.html ("hostname" ,(plain-file "hostname" (operating-system-host-name os))) + ;; Some programs (e.g., GLib) look at /etc/timezone to find the + ;; name of the current timezone. For details, see + ;; https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00166.html + ("timezone" ,(plain-file "timezone" (operating-system-timezone os))) ("localtime" ,(file-append tzdata "/share/zoneinfo/" (operating-system-timezone os))) ("sudoers" ,(operating-system-sudoers-file os)))))) |