From fcb6e881c25310d5c7c6ffae4efd47653cba7b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 16 Jun 2021 15:19:04 +0200 Subject: [PATCH] home-assistant: move availableComponents to passthru --- pkgs/servers/home-assistant/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index ac84462d9f39..12a0c97f7e90 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -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;