From 98deca80fb7d9c74dc6131179a125bd6ddfb8e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 6 Feb 2026 17:33:52 -0800 Subject: [PATCH] home-assistant: run versionCheckHook --- pkgs/servers/home-assistant/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 9b83ecd0518d..b1967573f896 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -12,7 +12,7 @@ inetutils, nixosTests, home-assistant, - testers, + versionCheckHook, # Look up dependencies of specified components in component-packages.nix extraComponents ? [ ], @@ -426,6 +426,7 @@ python.pkgs.buildPythonApplication rec { nativeCheckInputs = requirementsTest + ++ [ versionCheckHook ] ++ (with python.pkgs; [ # Used in tests/non_packaged_scripts/test_alexa_locales.py beautifulsoup4 @@ -499,10 +500,6 @@ python.pkgs.buildPythonApplication rec { tests = { nixos = nixosTests.home-assistant; components = callPackage ./tests.nix { }; - version = testers.testVersion { - package = home-assistant; - command = "hass --version"; - }; withoutCheckDeps = home-assistant.overridePythonAttrs { pname = "home-assistant-without-check-deps"; doCheck = false;