3
0
Fork 0
forked from mirrors/nixpkgs

nixos/home-assistant: use availableComponents of configured package

fixes #55958
This commit is contained in:
Robert Schütz 2019-02-22 17:28:59 +01:00
parent fce431ff66
commit e211f55d87

View file

@ -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".