nixpkgs/pkgs/servers/x11/xorg
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
..
darwin
.gitignore
builder.sh
default.nix xorg.libFS: 1.0.9 -> 1.0.10 2024-08-14 21:41:13 -04:00
dont-create-logdir-during-build.patch
generate-expr-from-tarballs.pl xorg.libpciaccess: 0.17 -> 0.18 2024-02-11 13:13:56 -05:00
imake-cc-wrapper-uberhack.patch
imake-setup-hook.sh
imake.patch
imake.sh
overrides.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tarballs.list xorg.libFS: 1.0.9 -> 1.0.10 2024-08-14 21:41:13 -04:00
update.py xorg: add update script 2024-04-20 09:37:34 -04:00
use_crocus_and_iris.patch
xcb-util-xrm.nix
xwayland.nix xwayland: 24.1.1 -> 24.1.2 2024-08-07 21:55:28 +01:00