nagiosPlugins.check_ssl_cert: 2.85.1 -> 2.86.0 (#379244)
[NixPkgs.git] / pkgs / by-name / ha / hare / 001-tzdata.patch
blobc6560d52edd9cfaac8b0e147901b4e58a2322701
1 diff --git a/time/chrono/+freebsd.ha b/time/chrono/+freebsd.ha
2 index af49080e..3dde7963 100644
3 --- a/time/chrono/+freebsd.ha
4 +++ b/time/chrono/+freebsd.ha
5 @@ -2,8 +2,8 @@
6 // (c) Hare authors <https://harelang.org>
8 def LOCALTIME_PATH: str = "/etc/localtime";
9 -def TZDB_PATH: str = "/usr/share/zoneinfo/";
10 +def TZDB_PATH: str = "@tzdata@/share/zoneinfo/";
12 // The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
13 // leap second data.
14 -export def UTC_LEAPSECS_PATH: str = "/var/db/ntpd.leap-seconds.list";
15 +export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
16 diff --git a/time/chrono/+linux.ha b/time/chrono/+linux.ha
17 index 2756fd6f..1ea22385 100644
18 --- a/time/chrono/+linux.ha
19 +++ b/time/chrono/+linux.ha
20 @@ -2,8 +2,8 @@
21 // (c) Hare authors <https://harelang.org>
23 def LOCALTIME_PATH: str = "/etc/localtime";
24 -def TZDB_PATH: str = "/usr/share/zoneinfo/";
25 +def TZDB_PATH: str = "@tzdata@/share/zoneinfo/";
27 // The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
28 // leap second data.
29 -export def UTC_LEAPSECS_PATH: str = "/usr/share/zoneinfo/leap-seconds.list";
30 +export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
31 diff --git a/time/chrono/+openbsd.ha b/time/chrono/+openbsd.ha
32 index 2756fd6f..1ea22385 100644
33 --- a/time/chrono/+openbsd.ha
34 +++ b/time/chrono/+openbsd.ha
35 @@ -2,8 +2,8 @@
36 // (c) Hare authors <https://harelang.org>
38 def LOCALTIME_PATH: str = "/etc/localtime";
39 -def TZDB_PATH: str = "/usr/share/zoneinfo/";
40 +def TZDB_PATH: str = "@tzdata@/share/zoneinfo/";
42 // The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
43 // leap second data.
44 -export def UTC_LEAPSECS_PATH: str = "/usr/share/zoneinfo/leap-seconds.list";
45 +export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";