nixpkgs/pkgs/top-level
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
..
pkg-config
ada-packages.nix
agda-packages.nix
aliases.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
all-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
beam-packages.nix
by-name-overlay.nix
config.nix
coq-packages.nix ocamlPackages.elpi: use release tarball (#343266) 2024-09-23 09:52:07 +02:00
cubocore-packages.nix
cuda-packages.nix
darwin-aliases.nix
darwin-packages.nix
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emilua-plugins.nix
emscripten-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gnuradio-packages.nix
hare-third-party.nix
haskell-packages.nix
haxe-packages.nix
impure.nix
java-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kodi-packages.nix
linux-kernels.nix linux_5_4_hardened: mark as broken 2024-09-23 18:52:12 +02:00
lua-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
make-tarball.nix
metrics.nix
nim-overrides.nix
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.mlbdd: init at 0.7.2 (#344136) 2024-09-24 10:26:35 +02:00
octave-packages.nix
packages-config.nix
perl-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
php-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
python-aliases.nix python3{11,12}Packages.jupyter-contrib-nbextensions: drop (#343797) 2024-09-23 11:45:01 +02:00
python-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
python2-packages.nix
qt5-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qt6-packages.nix
release-alternatives.nix
release-attrpaths-superset.nix
release-cross.nix
release-cuda.nix
release-haskell.nix
release-lib.nix
release-outpaths.nix
release-python.nix
release-r.nix
release-small.nix
release.nix
ruby-packages.nix
splice.nix
stage.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
unixtools.nix
wine-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00