home-assistant: fix home-assistant-frontend update

An incomplete rename of attributes caused a mismatch in expectations
between the update script and what the home-assistant package exposed.
This commit is contained in:
Martin Weinelt 2021-06-15 21:16:08 +02:00
parent 8f2432d855
commit 0e13e11398
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 3 additions and 4 deletions

View File

@ -219,7 +219,7 @@ in with py.pkgs; buildPythonApplication rec {
'';
propagatedBuildInputs = [
# Only packages required in setup.py + hass-frontend
# Only packages required in setup.py
aiohttp
astral
async-timeout
@ -798,11 +798,10 @@ in with py.pkgs; buildPythonApplication rec {
'';
passthru = {
inherit (py.pkgs) hass-frontend;
python = py;
tests = {
inherit (nixosTests) home-assistant;
};
python = py;
};
meta = with lib; {

View File

@ -26,7 +26,7 @@ sed -i -e "s/hassVersion =.*/hassVersion = \"${TARGET_VERSION}\";/" \
./parse-requirements.py
(
cd ../../..
nix-update --version "$FRONTEND_VERSION" home-assistant.hass-frontend
nix-update --version "$FRONTEND_VERSION" home-assistant.python.pkgs.home-assistant-frontend
nix-update --version "$TARGET_VERSION" --build home-assistant
)