mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
c56755b92a
Also set the correct index for mailcap patch and change harec and qbe binaries replacement for a more explicit placeholder.
46 lines
1.8 KiB
Diff
46 lines
1.8 KiB
Diff
diff --git a/time/chrono/+freebsd.ha b/time/chrono/+freebsd.ha
|
|
index af49080e..3dde7963 100644
|
|
--- a/time/chrono/+freebsd.ha
|
|
+++ b/time/chrono/+freebsd.ha
|
|
@@ -2,8 +2,8 @@
|
|
// (c) Hare authors <https://harelang.org>
|
|
|
|
def LOCALTIME_PATH: str = "/etc/localtime";
|
|
-def TZDB_PATH: str = "/usr/share/zoneinfo/";
|
|
+def TZDB_PATH: str = "@tzdata@/share/zoneinfo/";
|
|
|
|
// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
|
|
// leap second data.
|
|
-export def UTC_LEAPSECS_PATH: str = "/var/db/ntpd.leap-seconds.list";
|
|
+export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
|
|
diff --git a/time/chrono/+linux.ha b/time/chrono/+linux.ha
|
|
index 2756fd6f..1ea22385 100644
|
|
--- a/time/chrono/+linux.ha
|
|
+++ b/time/chrono/+linux.ha
|
|
@@ -2,8 +2,8 @@
|
|
// (c) Hare authors <https://harelang.org>
|
|
|
|
def LOCALTIME_PATH: str = "/etc/localtime";
|
|
-def TZDB_PATH: str = "/usr/share/zoneinfo/";
|
|
+def TZDB_PATH: str = "@tzdata@/share/zoneinfo/";
|
|
|
|
// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
|
|
// leap second data.
|
|
-export def UTC_LEAPSECS_PATH: str = "/usr/share/zoneinfo/leap-seconds.list";
|
|
+export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
|
|
diff --git a/time/chrono/+openbsd.ha b/time/chrono/+openbsd.ha
|
|
index 2756fd6f..1ea22385 100644
|
|
--- a/time/chrono/+openbsd.ha
|
|
+++ b/time/chrono/+openbsd.ha
|
|
@@ -2,8 +2,8 @@
|
|
// (c) Hare authors <https://harelang.org>
|
|
|
|
def LOCALTIME_PATH: str = "/etc/localtime";
|
|
-def TZDB_PATH: str = "/usr/share/zoneinfo/";
|
|
+def TZDB_PATH: str = "@tzdata@/share/zoneinfo/";
|
|
|
|
// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
|
|
// leap second data.
|
|
-export def UTC_LEAPSECS_PATH: str = "/usr/share/zoneinfo/leap-seconds.list";
|
|
+export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
|