buildHomeAssistantComponent: reintroduce nativeCheckInputs

This fixes a bug introduced in commit 9dcea72b22 where they moved setup hooks from `nativeCheckInputs` to `nativeBuildInputs` without modifying the `removeAttrs` logic accordingly. This meant that:

1. callee's `nativeCheckInputs` parameter would be erroneously ignored, and
2. callee's `nativeBuildInputs` parameter would erroneously clobber the setup hooks previously defined in the `buildHomeAssistantComponent` function.

Changing the `removeAttrs` logic so that it filters out callee's `nativeBuildInputs` parameter rather than `nativeCheckInputs` fixes the bug.
This commit is contained in:
Matej Urbas
2025-12-26 18:55:21 +00:00
parent 1f40d75362
commit 2bbd197203
@@ -62,7 +62,7 @@ home-assistant.python.pkgs.buildPythonPackage (
}
// removeAttrs args [
"meta"
"nativeCheckInputs"
"nativeBuildInputs"
"passthru"
]
)