glibc looking for zoneinfo files in the wrong place; failing silently #65415
Labels
0.kind: bug
Something is broken
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: non-nixos
Running packages on non-NixOS Linux
When calling e.g.
localtime
, glibc looks zoneinfo files in its own derivation, and not in tzdata. Missing timezones are silently ignored (I believe this bit is not nixpkgs-specific), so in the example below, the output is off by one hour.To Reproduce
strace
shows its looking in the glibc derivation for zoneinfo, but actually the zoneinfo files are stored elsewhere.Expected behavior
On Centos 7 (correct output)
Metadata
"x86_64-linux"
Linux 3.10.0-957.12.1.el7.x86_64, CentOS Linux, 7 (Core)
no
no
nix-env (Nix) 2.2.2
"nixpkgs-19.03.172807.b2ec3b6db2b, nixos-19.03-19.03"
/home/dyson/.nix-defexpr/channels/nixpkgs
Maintainer information:
The text was updated successfully, but these errors were encountered: