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 beam-packages: add nodocs target for building ex_doc on 27+ 2024-09-06 09:57:17 -04:00
by-name-overlay.nix
config.nix stdenv: Allow user to supply their bootstrapFiles set of tools 2024-08-30 02:31:18 +00:00
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 darwin.xcode: add 15.2, 15.3 and 15.4 (#313003) 2024-09-07 16:24:18 +08:00
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix emacs: factor out common overrides for nongnu packages 2024-09-14 13:49:44 +08:00
emilua-plugins.nix emiluaPlugins.secp256k1: init at 0.5.0 2024-09-21 21:04:35 +00:00
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
python2-packages.nix
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
qt5-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qt6-packages.nix nixos/sddm: add layer-shell-qt to the wrapper when kwin is used 2024-08-27 20:50:08 +03:00
release-alternatives.nix
release-attrpaths-superset.nix
release-cross.nix
release-cuda.nix release-cuda: account for Hydra passing extra flags 2024-08-28 01:50:06 +00:00
release-haskell.nix Merge master into haskell-updates 2024-08-30 00:15:09 +00:00
release-lib.nix lib.platforms.mesaPlatforms: remove 2024-08-31 10:28:31 +02:00
release-outpaths.nix
release-python.nix
release-r.nix
release-small.nix lsh: drop 2024-08-20 12:02:12 +02:00
release.nix
ruby-packages.nix rubyPackages.rexml: 3.3.0 -> 3.3.6 2024-08-28 22:14:55 +01:00
splice.nix
stage.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
unixtools.nix unixtools: use tinyxxd to serve up xxd 2024-08-30 08:23:09 -07:00
wine-packages.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00