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:
@@ -62,7 +62,7 @@ home-assistant.python.pkgs.buildPythonPackage (
|
||||
}
|
||||
// removeAttrs args [
|
||||
"meta"
|
||||
"nativeCheckInputs"
|
||||
"nativeBuildInputs"
|
||||
"passthru"
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user