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