Merge pull request #127091 from dotlambda/home-assistant-availableComponents-passthru

home-assistant: move availableComponents to passthru
This commit is contained in:
Martin Weinelt 2021-06-16 21:19:10 +02:00 committed by GitHub
commit 039fc8c62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";
@ -805,6 +803,7 @@ in with py.pkgs; buildPythonApplication rec {
'';
passthru = {
inherit availableComponents;
python = py;
tests = {
inherit (nixosTests) home-assistant;