diff --git a/pkgs/servers/home-assistant/custom-components/octopus_energy/package.nix b/pkgs/servers/home-assistant/custom-components/octopus_energy/package.nix index 17e9081d747c..c42279e173ac 100644 --- a/pkgs/servers/home-assistant/custom-components/octopus_energy/package.nix +++ b/pkgs/servers/home-assistant/custom-components/octopus_energy/package.nix @@ -2,7 +2,7 @@ lib, fetchFromGitHub, buildHomeAssistantComponent, - pytestCheckHook, + pytest9_0CheckHook, pytest-homeassistant-custom-component, pydantic, mock, @@ -23,7 +23,7 @@ buildHomeAssistantComponent rec { dependencies = [ pydantic ]; nativeCheckInputs = [ - pytestCheckHook + pytest9_0CheckHook pytest-homeassistant-custom-component mock ];