home-assistant: move availableComponents to passthru

This commit is contained in:
Robert Schütz 2021-06-16 15:19:04 +02:00
parent ce2c9bd765
commit fcb6e881c2

View File

@ -192,8 +192,6 @@ in with py.pkgs; buildPythonApplication rec {
# don't try and fail to strip 6600+ python files, it takes minutes!
dontStrip = true;
inherit availableComponents;
# PyPI tarball is missing tests/ directory
src = fetchFromGitHub {
owner = "home-assistant";
@ -798,6 +796,7 @@ in with py.pkgs; buildPythonApplication rec {
'';
passthru = {
inherit availableComponents;
python = py;
tests = {
inherit (nixosTests) home-assistant;