From 48d98d2a1c287eb97f83f83548b9eb4cdc66a761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 4 May 2026 15:49:44 +0200 Subject: [PATCH 1/2] home-assistant-custom-components.openplantbook: use ignoreVersionRequirement --- .../custom-components/openplantbook/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-components/openplantbook/package.nix b/pkgs/servers/home-assistant/custom-components/openplantbook/package.nix index e33f2d14ffbd..05f04c00b483 100644 --- a/pkgs/servers/home-assistant/custom-components/openplantbook/package.nix +++ b/pkgs/servers/home-assistant/custom-components/openplantbook/package.nix @@ -20,10 +20,10 @@ buildHomeAssistantComponent rec { hash = "sha256-Ym7bt+0s7eqlL3oDtppIGenoW1XvrSjKkV2flE0TzUo="; }; - postPatch = '' - substituteInPlace custom_components/openplantbook/manifest.json \ - --replace-fail "==" ">=" - ''; + ignoreVersionRequirement = [ + "json-timeseries" + "openplantbook-sdk" + ]; dependencies = [ json-timeseries From 791aaafe515c2d97bb00980355b9479de0026420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 4 May 2026 15:49:48 +0200 Subject: [PATCH 2/2] home-assistant-custom-components.thewatchman: use ignoreVersionRequirement --- .../custom-components/thewatchman/package.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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;