all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#39665: r-readr in a container has got no timezone data
@ 2020-02-18 15:19 Wiktor Żelazny
  2020-02-20 12:44 ` zimoun
  0 siblings, 1 reply; 2+ messages in thread
From: Wiktor Żelazny @ 2020-02-18 15:19 UTC (permalink / raw)
  To: 39665

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

Related to [1]. Reproducing:

   guix environment -C --pure --ad-hoc r r-readr
   Rscript -e 'library(readr); default_locale()'

A hack that fixes this issue is to include tzdata among the environment
inputs, and to set

   TZDIR=/gnu/store/$(ls -F /gnu/store | grep tzdata.*/ | head -n 1)share/zoneinfo

(actually, one needs also coreutils and grep to do that, but that’s
beyond the point). I haven’t tried it (yet?), but maybe it suffices to
add tzdata to r-readr inputs in the package definition to fix this
issue.

WŻ

[1]: https://github.com/tidyverse/readr/issues/952

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-20 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18 15:19 bug#39665: r-readr in a container has got no timezone data Wiktor Żelazny
2020-02-20 12:44 ` zimoun

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.