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:
parent
4eddeb7a0f
commit
3b1494252c
@ -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" || {
|
||||
|
Loading…
Reference in New Issue
Block a user