forked from mirrors/nixpkgs
nixos/home-assistant: use availableComponents of configured package
fixes #55958
This commit is contained in:
parent
fce431ff66
commit
e211f55d87
|
@ -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…
Reference in a new issue