home-assistant: treat extraComponents with multiple requirements correctly

This commit is contained in:
Robert Schütz 2018-04-08 13:21:52 +02:00 committed by Elis Hirwing
parent 51d1aad9f3
commit a292149c8b

View file

@ -45,7 +45,7 @@ let
getPackages = component: builtins.getAttr component componentPackages.components;
componentBuildInputs = map (component: getPackages component py.pkgs) extraComponents;
componentBuildInputs = lib.concatMap (component: getPackages component py.pkgs) extraComponents;
# Ensure that we are using a consistent package set
extraBuildInputs = extraPackages py.pkgs;