mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
home-assistant: ignore install method deprecation
This commit is contained in:
parent
bb6f211184
commit
d81453d943
3 changed files with 20 additions and 0 deletions
|
|
@ -317,6 +317,9 @@ python3Packages.buildPythonApplication rec {
|
|||
# No scaring our users about not running in a docker or a venv
|
||||
./patches/pythonpath-is-a-venv.patch
|
||||
|
||||
# No scaring our users about our install method
|
||||
./patches/nixos-was-never-supported.patch
|
||||
|
||||
# Patch path to ffmpeg binary
|
||||
(replaceVars ./patches/ffmpeg-path.patch {
|
||||
ffmpeg = "${lib.getExe ffmpeg-headless}";
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/homeassistant/components/homeassistant/__init__.py b/homeassistant/components/homeassistant/__init__.py
|
||||
index 54c6454167b..026fda54578 100644
|
||||
--- a/homeassistant/components/homeassistant/__init__.py
|
||||
+++ b/homeassistant/components/homeassistant/__init__.py
|
||||
@@ -420,7 +420,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: # noqa:
|
||||
|
||||
installation_type = info["installation_type"][15:]
|
||||
if installation_type in {"Core", "Container"}:
|
||||
- deprecated_method = installation_type == "Core"
|
||||
+ deprecated_method = False
|
||||
bit32 = _is_32_bit()
|
||||
arch = info["arch"]
|
||||
if bit32 and installation_type == "Container":
|
||||
|
|
@ -130,6 +130,10 @@ let
|
|||
# [2026.6.1] AssertionError: assert <ConfigEntryState.LOADED: 'loaded'> is <ConfigEntryState.SETUP_RETRY: 'setup_retry'>
|
||||
"test_usb_device_reactivity"
|
||||
];
|
||||
homeassistant = [
|
||||
# disabled via nixos-was-never-supported.patch
|
||||
"test_deprecated_installation_issue_core"
|
||||
];
|
||||
opendisplay = [
|
||||
# [2026.6.0] Failed: Description not found for placeholder `reason` in component.opendisplay.exceptions.device_not_found.message
|
||||
# https://github.com/home-assistant/core/pull/172909
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue