3
0
Fork 0
forked from mirrors/nixpkgs

home-assistant: fix list spacing in component packages

This commit is contained in:
Martin Weinelt 2020-08-29 00:59:50 +02:00 committed by Jon
parent ed5c35626a
commit e06e699c84
2 changed files with 276 additions and 275 deletions

View file

@ -178,7 +178,8 @@ def main() -> None:
for component, deps in build_inputs.items(): for component, deps in build_inputs.items():
available, missing = deps available, missing = deps
f.write(f' "{component}" = ps: with ps; [') f.write(f' "{component}" = ps: with ps; [')
f.write(" ".join(available)) if available:
f.write(" " + " ".join(available))
f.write(" ];") f.write(" ];")
if len(missing) > 0: if len(missing) > 0:
f.write(f" # missing inputs: {' '.join(missing)}") f.write(f" # missing inputs: {' '.join(missing)}")