From: Giovanni Biscuolo <g@xelera.eu>
To: 49042@debbugs.gnu.org
Subject: [bug#49042] [PATCH 0/2] WIP gnu: Add ruby-taskjuggler.
Date: Wed, 16 Jun 2021 11:42:42 +0200 [thread overview]
Message-ID: <87wnqum9gt.fsf@xelera.eu> (raw)
In-Reply-To: <87zgvqmb8g.fsf@xelera.eu>
[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]
Hello,
Giovanni Biscuolo <g@xelera.eu> writes:
[...]
> I'm on a foreign distro and if I run the program this way:
>
> TZDIR=/usr/share/zoneinfo tj3 -o tutorial tutorial.tjp
>
> all is fine.
I just found the related bug #36870 [1] and as the original reporter I'm
incorrectly assuming Guix packages are using Guix timezone package (when
set as package input) on foreign distro also.
Mark H Weaver wrote:
--8<---------------cut here---------------start------------->8---
On Guix systems, /etc/environment includes an entry that sets TZDIR to
the equivalent of "$(guix build tzdata)/share/zoneinfo".
When using Guix on top of another distro, an alternative choice might be
to set TZDIR to "/usr/share/zoneinfo". I'm not sure which setting is
preferable on non-Guix systems.
--8<---------------cut here---------------end--------------->8---
and Ludovic Courtès added:
--8<---------------cut here---------------start------------->8---
I agree that it’d be nice to somehow tell users about ‘TZDIR’, but I’m
reluctant to introducing yet another profile file.
I’m not sure what would be the best approach!
--8<---------------cut here---------------end--------------->8---
So AFAIU all I have to do is to fix my foreign distro environment.
Also, AFAIU from #40881 we should avoid setting tzdata as inputs of our
packages (to avoid massive rebuilds) and let our packages look up zones
at runtime with $TZDIR; this also makes me understand a little bit more
clearly why we have "tzdata-for-tests"... and I'm gonna use it in my
next version of the patch.
A new patch version will follow... soon (TM)
Happy hacking! Gio'
[...]
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36870
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
next prev parent reply other threads:[~2021-06-16 9:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 14:40 [bug#49042] [PATCH 0/2] WIP gnu: Add ruby-taskjuggler Giovanni Biscuolo
2021-06-15 15:02 ` [bug#49042] [PATCH 1/2] gnu: ruby-term-ansicolor: Update to 1.7.1 Giovanni Biscuolo
2021-06-26 21:44 ` bug#49042: [PATCH 0/2] WIP gnu: Add ruby-taskjuggler Ludovic Courtès
[not found] ` <handler.49042.B.1623769117468.ack@debbugs.gnu.org>
2021-06-15 15:04 ` [bug#49042] [PATCH 2/2] " Giovanni Biscuolo
2021-06-16 9:04 ` [bug#49042] [PATCH 0/2] WIP " Giovanni Biscuolo
2021-06-16 9:42 ` Giovanni Biscuolo [this message]
2021-06-16 9:17 ` Maxime Devos
2021-06-16 10:09 ` Giovanni Biscuolo
2021-06-16 11:00 ` [bug#49042] [PATCH v2 2/2] " Giovanni Biscuolo
2021-06-16 16:51 ` [bug#49042] [PATCH 0/2] WIP " Giovanni Biscuolo
2021-06-16 17:55 ` Giovanni Biscuolo
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=87wnqum9gt.fsf@xelera.eu \
--to=g@xelera.eu \
--cc=49042@debbugs.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).