Skip to content

tzdata: fails to build on or after 2026-11-01 #582038

Closed

Description

@ARitz-Cracker

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 1

Additional 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

@ajs124 @fpletz


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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Nov 2, 2026
  2. ARitz-Cracker commented on Nov 2, 2026

    @ARitz-Cracker
    Author

    Also worth mentioning that #580455 and #581726 are now guaranteed to fail from this point forward.

  3. added a commit that references this issue on Nov 2, 2026
  4. winterqt commented on Nov 2, 2026

    @winterqt
    Member

    Thanks, see #582069.

    We can help increase the determinism by doing something like checkFlags = [ "CHECK_NOW_TIMESTAMP=$$SOURCE_DATE_EPOCH" ];

    This is a little too fragile IMO, I'd rather wait for an upstream fix and just disable the tests for now.

  5. linked a pull request that will close this issuetzdata: disable tests for now #582069on Nov 2, 2026
  6. ARitz-Cracker commented on Nov 2, 2026

    @ARitz-Cracker
    Author

    Other potential solutions

  7. ajs124 commented on Nov 4, 2026

    @ajs124
    Member
  8. marked Build failure: tzdata #586169 as a duplicate of this issue on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions