nixpkgs/pkgs/by-name/ev/evolution-data-server/fix-paths.patch

12 lines
365 B
Diff

--- a/src/calendar/libecal/e-cal-system-timezone.c
+++ b/src/calendar/libecal/e-cal-system-timezone.c
@@ -26,7 +26,7 @@
#ifdef HAVE_SOLARIS
#define SYSTEM_ZONEINFODIR "/usr/share/lib/zoneinfo/tab"
#else
-#define SYSTEM_ZONEINFODIR "/usr/share/zoneinfo"
+#define SYSTEM_ZONEINFODIR "@tzdata@/share/zoneinfo"
#endif
#define ETC_TIMEZONE "/etc/timezone"