home-assistant: rename component update script

This commit is contained in:
Martin Weinelt 2024-04-23 22:59:15 +02:00
parent ffbbdb8b9d
commit 991b36dcbe
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 3 additions and 3 deletions

View File

@ -525,7 +525,7 @@ let
# Ensure that we are using a consistent package set
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
# Don't forget to run update-component-packages.py after updating
hassVersion = "2024.4.3";
in python.pkgs.buildPythonApplication rec {

View File

@ -268,7 +268,7 @@ def main() -> None:
build_inputs[component] = (attr_paths, extra_attrs, missing_reqs)
with open(os.path.dirname(sys.argv[0]) + "/component-packages.nix", "w") as f:
f.write("# Generated by parse-requirements.py\n")
f.write("# Generated by update-component-packages.py\n")
f.write("# Do not edit!\n\n")
f.write("{\n")
f.write(f' version = "{version}";\n')

View File

@ -222,7 +222,7 @@ class HomeAssistant:
async def update_components(self):
await run_async([
f"{ROOT}/pkgs/servers/home-assistant/parse-requirements.py"
f"{ROOT}/pkgs/servers/home-assistant/update-component-packages.py"
])