nixpkgs/pkgs/servers/home-assistant
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
..
build-custom-component nixos/home-assistant: customComponents must use buildHomeAssistantComponent 2024-07-26 07:33:40 -07:00
custom-components home-assistant-custom-components.xiaomi_gateway3: 4.0.5 -> 4.0.6 (#339765) 2024-09-21 14:50:18 +02:00
custom-lovelace-modules home-assistant-custom-lovelace-modules.universal-remote-card: 4.0.3 -> 4.0.5 2024-09-14 09:00:35 +03:00
patches home-assistant: 2024.8.3 -> 2024.9.0 2024-09-04 12:26:56 -07:00
appdaemon.nix treewide: remove pythonRelaxDepsHook references 2024-06-14 14:52:00 +02:00
cli.nix home-assistant-cli: fix shell completions 2024-08-15 08:25:27 -04:00
component-packages.nix home-assistant: 2024.9.2 -> 2024.9.3 2024-09-24 11:55:36 +02:00
default.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
frontend.nix home-assistant: 2024.9.1 -> 2024.9.2 2024-09-18 13:48:35 +02:00
intents.nix home-assistant.intents: 2024.8.7 -> 2024.9.4 2024-09-04 12:26:56 -07:00
pytest-homeassistant-custom-component.nix home-assistant.python.pkgs.pytest-homeassistant-custom-component: 0.13.147 -> 0.13.154 2024-08-23 04:38:32 +02:00
stubs.nix python312Packages.homeassistant-stubs: 2024.9.2 -> 2024.9.3 2024-09-24 12:59:01 +02:00
tests.nix home-assistant-component-tests.system_log: provide isal dependency 2024-08-11 00:00:20 +02:00
update-component-packages.py home-assistant: 2024.8.3 -> 2024.9.0 2024-09-04 12:26:56 -07:00
update.py home-assistant: rename component update script 2024-04-24 01:18:32 +02:00