mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
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
@ -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 New Issue
Block a user