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
1 changed files with 0 additions and 4 deletions
|
@ -3,7 +3,6 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
, inetutils
|
, inetutils
|
||||||
, tzdata
|
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
|
||||||
# Look up dependencies of specified components in component-packages.nix
|
# 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
|
# put ping binary into PATH, e.g. for wake_on_lan tests
|
||||||
export PATH=${inetutils}/bin:$PATH
|
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 :(
|
# error out when component test directory is missing, otherwise hidden by xdist execution :(
|
||||||
for component in ${lib.concatStringsSep " " (map lib.escapeShellArg componentTests)}; do
|
for component in ${lib.concatStringsSep " " (map lib.escapeShellArg componentTests)}; do
|
||||||
test -d "tests/components/$component" || {
|
test -d "tests/components/$component" || {
|
||||||
|
|
Loading…
Reference in a new issue