From 8af268bd6895a80797932038393400455b523bb4 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 29 Dec 2021 00:53:27 +0100 Subject: [PATCH] Switch to patched tzdir This fixes today not respecting the TZDIR environment variable, which is necessary since NixOS uses a nonstandard time zone data location. --- Cargo.lock | 3 +-- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5afc4fb..3e90b27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -455,8 +455,7 @@ checksum = "b63708a265f51345575b27fe43f9500ad611579e764c79edbc2037b1121959ec" [[package]] name = "tzfile" version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f59c22c42a2537e4c7ad21a4007273bbc5bebed7f36bc93730a5780e22a4592e" +source = "git+https://github.com/Garmelon/tzfile.git?branch=tzdir#a2a4775fdb2a24f33f616ca6289d715f647d53c2" dependencies = [ "byteorder", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 8f8292a..d0b6eb2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,4 @@ pest = "2.1.3" pest_derive = "2.1.0" structopt = "0.3.25" thiserror = "1.0.30" -tzfile = "0.1.3" +tzfile = { git = "https://github.com/Garmelon/tzfile.git", branch = "tzdir" }