From 3b1494252c4517aa8934c761e88b8543c471f964 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 16 Jun 2021 00:24:11 +0200 Subject: [PATCH] home-assistant: drop tzdata workaround The backports-zoneinfo package was fixed by patching in the reference to the tzdata files, this means we don't have to export PYTHONTZPATH anymore. --- pkgs/servers/home-assistant/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 9c03f34c924a..4737b9597976 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -3,7 +3,6 @@ , fetchFromGitHub , python3 , inetutils -, tzdata , nixosTests # Look up dependencies of specified components in component-packages.nix @@ -785,9 +784,6 @@ in with py.pkgs; buildPythonApplication rec { # put ping binary into PATH, e.g. for wake_on_lan tests export PATH=${inetutils}/bin:$PATH - # set up zoneinfo data for backports-zoneinfo in pvpc_hourly_pricing tests - export PYTHONTZPATH="${tzdata}/share/zoneinfo" - # error out when component test directory is missing, otherwise hidden by xdist execution :( for component in ${lib.concatStringsSep " " (map lib.escapeShellArg componentTests)}; do test -d "tests/components/$component" || {