diff --git a/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix b/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix index 08e1ff7ad81c..80405cf4ba7e 100644 --- a/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix +++ b/pkgs/servers/home-assistant/custom-components/thewatchman/package.nix @@ -20,10 +20,9 @@ buildHomeAssistantComponent rec { hash = "sha256-5BXIKh8uPKuxsLbxu0fUbuCR2LYOXk1HpOvrqehg0u0="; }; - postPatch = '' - substituteInPlace custom_components/watchman/manifest.json \ - --replace-fail "prettytable==3.12.0" "prettytable" - ''; + ignoreVersionRequirement = [ + "prettytable" + ]; dontBuild = true;