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 nixos/espanso: add n8henrie to maintainers 2024-07-21 17:08:24 -06:00
flatpak.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
flatpak.nix nixos/services.flatpak: remove with lib; 2024-08-30 00:30:43 +02:00
geoclue2.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
gsignond.nix nixos/services.gsignond: remove with lib; 2024-08-30 00:30:43 +02:00
gvfs.nix nixos/gnome: Remove global with expressions 2024-05-02 23:17:40 +02:00
malcontent.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
neard.nix nixos/neard: expose settings option 2024-08-30 18:26:35 +02:00
playerctld.nix playerctl: add daemon service 2024-06-26 21:33:46 +02:00
profile-sync-daemon.nix nixos/services.psd: remove with lib; 2024-08-30 00:30:43 +02:00
seatd.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
system76-scheduler.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
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 nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00