Commit 98deca80 authored by Robert Schütz's avatar Robert Schütz
Browse files

home-assistant: run versionCheckHook

parent dfa23cdd
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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;