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.
This commit is contained in:
Martin Weinelt 2021-06-16 00:24:11 +02:00
parent 4eddeb7a0f
commit 3b1494252c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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" || {