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 cudaPackages.writeGpuTestPython: sync the attr and the filesystem paths 2024-07-20 12:03:36 +00:00
darwin-aliases.nix darwin.cctools: add to darwin-aliases.nix 2024-07-17 22:36:19 -04:00
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 Merge master into haskell-updates 2024-07-31 00:12:53 +00:00
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 metrics job: schedule on any machine, for now 2024-07-18 10:06:01 +02:00
nim-overrides.nix
nixpkgs-basic-release-checks.nix nixpkgs/release-checks: shut up GC 2024-07-31 10:02:18 +03:00
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 Remove buildFreebsd from excluded-attrnames-at-any-depth 2024-07-25 17:28:00 -07:00
release-cross.nix [squashme] do the requested changes 2024-07-19 21:32:07 -07:00
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 arocc: init at 0-unstable-06-01 2024-07-27 19:43:41 -07:00
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