nixpkgs/nixos/modules/services/desktops
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
..
deepin nixos/services.deepin.dde-api.enable: remove with lib; 2024-08-30 00:30:42 +02:00
gnome gnome-settings-daemon{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
pipewire treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
accountsservice.nix nixos/services.accounts-daemon: remove with lib; 2024-09-15 10:43:48 +02:00
ayatana-indicators.nix nixos/ayatana-indicators: Support new passthru.ayatana-indicators format 2024-08-15 20:52:04 +02:00
bamf.nix nixos/services.bamf: remove with lib; 2024-09-15 10:43:48 +02:00
blueman.nix nixos/services.blueman: remove with lib; 2024-08-30 00:30:41 +02:00
cpupower-gui.nix nixos/services.cpupower-gui: remove with lib; 2024-08-30 00:30:42 +02:00
dleyna-renderer.nix nixos/services.dleyna-renderer: remove with lib; 2024-08-30 00:30:42 +02:00
dleyna-server.nix nixos/services.dleyna-server: remove with lib; 2024-08-30 00:30:42 +02:00
espanso.nix
flatpak.md
flatpak.nix nixos/services.flatpak: remove with lib; 2024-08-30 00:30:43 +02:00
geoclue2.nix
gsignond.nix nixos/services.gsignond: remove with lib; 2024-08-30 00:30:43 +02:00
gvfs.nix
malcontent.nix
neard.nix nixos/neard: expose settings option 2024-08-30 18:26:35 +02:00
playerctld.nix
profile-sync-daemon.nix nixos/services.psd: remove with lib; 2024-08-30 00:30:43 +02:00
seatd.nix
system76-scheduler.nix
system-config-printer.nix nixos/services.system-config-printer: remove with lib; 2024-08-30 00:30:43 +02:00
telepathy.nix nixos/services.telepathy: remove with lib; 2024-08-30 00:30:44 +02:00
tumbler.nix nixos/services.tumbler: remove with lib; 2024-08-30 00:30:44 +02:00
zeitgeist.nix