python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / howard-hinnant-date / make-zoneinfo-available.diff
blobf9e69ff38cbb9ea461d31e3dfc11a8995957e886
1 diff --git a/src/tz.cpp b/src/tz.cpp
2 index 68436c3..2bfe19e 100644
3 --- a/src/tz.cpp
4 +++ b/src/tz.cpp
5 @@ -349,7 +349,7 @@ discover_tz_dir()
6 struct stat sb;
7 using namespace std;
8 # ifndef __APPLE__
9 - CONSTDATA auto tz_dir_default = "/usr/share/zoneinfo";
10 + CONSTDATA auto tz_dir_default = "@tzdata@/share/zoneinfo";
11 CONSTDATA auto tz_dir_buildroot = "/usr/share/zoneinfo/uclibc";
13 // Check special path which is valid for buildroot with uclibc builds