Commit 6942502
committed
buildHomeAssistantComponent: inherit meta.platforms from home-assistant
home-assistant-custom-components.* are meant to be used with home-assistant,
they should be built for the same platforms as home-assistant.
Currently home-assistant is [Linux only][1], this will prevent
home-assistant-custom-component.* from building on Darwin, and save some build resources.
[1]: https://github.com/NixOS/nixpkgs/blob/87a30cbaa07aea689bf90c93cfc69da7f2dcb0df/pkgs/servers/home-assistant/default.nix#L6751 parent dc460ec commit 6942502
File tree
1 file changed
+5
-1
lines changed- pkgs/servers/home-assistant/build-custom-component
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
0 commit comments