Repository navigation
Description
Nixpkgs version
- Stable (26.05)
Describe the bug
tzdata fails to build on or after 2026-11-01. This is because its now.ck check hasn't been updated with the recent DST changes to America/Vancouver, America/Edmonton, and America/Winnipeg, which have taken effect today.
Steps to reproduce
run any system rebuild using tzdata without using cache.nixos.org
Minimal reproducer
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs = { nixpkgs, ... }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
# cache.nixos.org's tzdata was built before 2026-11-01, so we gotta force a rebuild
packages.x86_64-linux.default = pkgs.tzdata.overrideAttrs { forceRebuild = 1; };
};
}Expected behaviour
tzdata should build
Screenshots
No response
Relevant log output
tzdata> make[1]: Leaving directory '/build'
tzdata> rm -fr tzs2050.dir
tzdata> mv to2050new.tzs.out to2050new.tzs
tzdata> if test -s to2050.tzs; then \
tzdata> if diff -u -F'^TZ=' - - <>/dev/null >&0 2>&1; then DIFF_TZS='diff -u -F^TZ='; else DIFF_TZS='diff -u'; fi && $DIFF_TZS to2050.tzs to2050new.tzs; \
tzdata> else \
tzdata> cp to2050new.tzs to2050.tzs; \
tzdata> fi
tzdata> touch tzs.ck
tzdata> zones America/Phoenix and America/Vancouver identical from now on
tzdata> zones America/Mexico_City and America/Edmonton identical from now on
tzdata> zones America/Jamaica and America/Winnipeg identical from now on
tzdata> make: *** [Makefile:1006: now.ck] Error 1Additional context
This appears to be an upstream bug. https://lists.iana.org/hyperkitty/list/[email protected]/thread/CBEK3HXYBOXGD34ZFDSF64QIDT7ZWGBB/
This also means that tzdata fundamentally doesn't have deterministic tests, which is fun. We can help increase the determinism by doing something like checkFlags = [ "CHECK_NOW_TIMESTAMP=$$SOURCE_DATE_EPOCH" ]; (thanks Claude Opus 5.5)
System metadata
- system:
"x86_64-linux" - host os:
Linux 7.3.0, NixOS, 26.05 (Yarara), 26.05.13050.08d3a97586f6 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.9 - channels(root):
"nixos-26.05" - nixpkgs:
/nix/store/krkqk1hzlrslzgwmb5glynra6dfc6i9p-nixos-26.05/nixos
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Activity
ARitz-Cracker commentedon Nov 2, 2026
Also worth mentioning that #580455 and #581726 are now guaranteed to fail from this point forward.
tzdata: disable tests for now
winterqt commentedon Nov 2, 2026
Thanks, see #582069.
This is a little too fragile IMO, I'd rather wait for an upstream fix and just disable the tests for now.
ARitz-Cracker commentedon Nov 2, 2026
Other potential solutions
NEWSNEWSorversionajs124 commentedon Nov 4, 2026
#582730