all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Giovanni Biscuolo <g@xelera.eu>, 49042@debbugs.gnu.org
Subject: [bug#49042] [PATCH 0/2] WIP gnu: Add ruby-taskjuggler.
Date: Wed, 16 Jun 2021 11:17:08 +0200	[thread overview]
Message-ID: <7eff976cf34a7416c415adbc56ad145093e9163f.camel@telenet.be> (raw)
In-Reply-To: <87lf7bnpj3.fsf@xelera.eu>

[-- Attachment #1: Type: text/plain, Size: 1726 bytes --]

Giovanni Biscuolo schreef op di 15-06-2021 om 16:40 [+0200]:
> tutorial.tjp:11: Error: Europe/Paris is not a known time zone
>   timezone "Europe/Paris"
> 
> --8<---------------cut here---------------end--------------->8---
> 
> The strange thing is that timezones are tested at build (check) time but they
> seems missing at runtime.

Not weird at all. I see you put "tzdata" in 'inputs', not 'propagated-inputs'.

When installing ruby-taskjuggler in a profile (or using guix environment --ad-hoc),
guix will only install ruby-taskjuggler. "tzdata" won't be automagically installed
too. If you want to automagically install "tzdata", there are two options:

  * move "tzdata" to propagated-inputs
  * wrap tj3 (e.g. using wrap-program from (guix build utils)) to
    set TZDIR to (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")

Both options are not recommended, because "tzdata" frequently needs to be updated
and therefore, if packages used "tzdata" as input, there would be plenty of rebuilds
each time. When "tzdata" is used for tests, use the less-frequently updated tzdata-for-tests
instead.

The solution is to install "tzdata" separately. A user could do this with
"guix package -i tzdata". However, normally the operating system would provide
a time zone database of its own and initialise TZDIR to something reasonable.

E.g., on Guix System, 'operating-system-environment-variables' in (gnu system)
will initialise TZDIR, SSL_CERT_DIR and GIT_SSL_CAINFO to something reasonable
(though the user can override these defaults with "guix package -i tzdata".)

What operating system are you on, and what output do you get if you run
"echo $TZDIR"?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  parent reply	other threads:[~2021-06-16  9:20 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
2021-06-16  9:17 ` Maxime Devos [this message]
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

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

  git send-email \
    --in-reply-to=7eff976cf34a7416c415adbc56ad145093e9163f.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=49042@debbugs.gnu.org \
    --cc=g@xelera.eu \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.