nixpkgs/pkgs/applications/display-managers
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
..
emptty treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
greetd Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
lemurs Merge remote-tracking branch 'origin/master' into staging-next 2024-06-09 22:47:12 +01:00
lightdm treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
lightdm-enso-os-greeter
lightdm-mini-greeter treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
lightdm-mobile-greeter treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
lightdm-slick-greeter Merge pull request #327144 from bobby285271/upd/cinnamon-xapps-by-name 2024-07-22 21:33:16 +08:00
lightdm-tiny-greeter treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ly ly: remove with statements 2024-08-18 06:31:11 -07:00
sddm nixos/sddm: add layer-shell-qt to the wrapper when kwin is used 2024-08-27 20:50:08 +03:00