mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/home-assistant: use availableComponents of configured package
fixes #55958
This commit is contained in:
parent
fce431ff66
commit
e211f55d87
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ let
|
|||
${pkgs.remarshal}/bin/json2yaml -i ${lovelaceConfigJSON} -o $out
|
||||
'';
|
||||
|
||||
availableComponents = pkgs.home-assistant.availableComponents;
|
||||
availableComponents = cfg.package.availableComponents;
|
||||
|
||||
# Given component "parentConfig.platform", returns whether config.parentConfig
|
||||
# is a list containing a set with set.platform == "platform".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue