From 24b2d1bdf3ec321b6f4039bf6f348a064597cfd8 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 1 Mar 2024 02:12:22 +0000 Subject: [PATCH] tzdata: do not run check_now test --- pkgs/data/misc/tzdata/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/data/misc/tzdata/default.nix b/pkgs/data/misc/tzdata/default.nix index 3d40384132cb..522b2da68ca5 100644 --- a/pkgs/data/misc/tzdata/default.nix +++ b/pkgs/data/misc/tzdata/default.nix @@ -46,8 +46,10 @@ stdenv.mkDerivation (finalAttrs: { ]; doCheck = true; - # everything except for check_web, because that needs curl and wants to talk to https://validator.w3.org - checkTarget = "check_back check_character_set check_white_space check_links check_name_lengths check_now check_slashed_abbrs check_sorted check_tables check_ziguard check_zishrink check_tzs"; + # everything except for: + # - check_web, because that needs curl and wants to talk to https://validator.w3.org + # - check_now, because that depends on the current time + checkTarget = "check_back check_character_set check_white_space check_links check_name_lengths check_slashed_abbrs check_sorted check_tables check_ziguard check_zishrink check_tzs"; installFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "zic=${buildPackages.tzdata.bin}/bin/zic"