Commit 2bbd1972 authored by Matej Urbas's avatar Matej Urbas
Browse files

buildHomeAssistantComponent: reintroduce nativeCheckInputs

This fixes a bug introduced in commit 9dcea72b 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.
parent 1f40d753
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ home-assistant.python.pkgs.buildPythonPackage (
  }
  // removeAttrs args [
    "meta"
    "nativeCheckInputs"
    "nativeBuildInputs"
    "passthru"
  ]
)