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:
parent
8f2432d855
commit
0e13e11398
2 changed files with 3 additions and 4 deletions
|
@ -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; {
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue