unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Laurent Gatto <laurent.gatto@gmail.com>
To: help-guix@gnu.org
Subject: Re: tzselect: time zone files are not set up correctly
Date: Thu, 18 Jul 2024 15:36:49 +0200	[thread overview]
Message-ID: <87sew6x1n2.fsf@gmail.com> (raw)
In-Reply-To: <87le1zrmvc.fsf@gmail.com> (Laurent Gatto's message of "Thu, 18 Jul 2024 12:54:47 +0200")

On 18 July 2024 12:54, Laurent Gatto <laurent.gatto@gmail.com> 
wrote:

> Dear all,
>
> Any help with the following would be welcome:
>
> $ tzselect
> /gnu/store/bpid2k5sjrry3nj7jnhzlm7g01j2mbph-profile/bin/tzselect: 
> line
> 179:
> /gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/share/zoneinfo/iso3166.tab:
> No such file or directory
> /gnu/store/bpid2k5sjrry3nj7jnhzlm7g01j2mbph-profile/bin/tzselect: 
> time
> zone files are not set up correctly
>
> I seem to be missing iso3166.tab and haven't been able to find 
> it in
> any guix package.

Found it - I was missing the TZDIR env variable. Setting the 
following
fixes my issue:

export 
TZDIR=/gnu/store/19z4zyx0nykgcmj75izhsbi6z0ascq4i-tzdata-2022a/share/zoneinfo 

Does anyone know why the TZDIR variable was set properly on a guix
system, but not on a foreign distro? Is this expected?

Laurent


  reply	other threads:[~2024-07-21 17:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-18 10:54 tzselect: time zone files are not set up correctly Laurent Gatto
2024-07-18 13:36 ` Laurent Gatto [this message]
2024-07-22 16:37   ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sew6x1n2.fsf@gmail.com \
    --to=laurent.gatto@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).