nixpkgs/pkgs/tools/package-management
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
..
akku treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
apk-tools
apkg
appimage-run
appimagekit treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
apt-dater
cde
checkinstall tree-wide: remove eelco as maintainer from things he no longer maintains 2024-08-21 01:17:45 -07:00
ciel treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
clib
comma comma: 1.8.0 -> 1.9.0 2024-09-19 01:54:40 +00:00
conda
createrepo_c
disnix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dnf5 dnf5: 5.2.5.0 -> 5.2.6.0 2024-09-15 04:03:28 +00:00
dpkg treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
elm-github-install
emplace
fortran-fpm
fpm
fusesoc verilog: rename to actual name iverilog 2024-07-15 08:36:13 -07:00
gx
holo-build treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
libcomps
libdnf libdnf: add missing pcre2 dependency, format 2024-08-15 09:30:39 +02:00
librepo librepo: 1.18.0 -> 1.18.1 2024-08-22 06:58:36 +00:00
licensee
lix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
micromamba
morph
mynewt-newt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nfpm nfpm: 2.39.0 -> 2.40.0 2024-09-10 14:06:40 +00:00
niff
nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-bundle
nix-doc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-du treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-eval-jobs nix-eval-jobs: 2.23.0 -> 2.24.0 2024-08-14 10:57:42 +10:00
nix-index treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-pin
nix-prefetch
nix-prefetch-scripts
nix-serve nix-serve: 77ffa33d8 -> 0.0.2 (#343319) 2024-09-21 17:26:29 +02:00
nix-template treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-update-source nix-update-source: 0.6.3 -> 0.7.0 2024-09-07 10:45:56 +10:00
nix-visualize
nixpkgs-review
nox
npm-check-updates
nvd
opkg
opkg-utils
packagekit
pacman pacman: fix scripts 2024-08-18 02:50:53 +08:00
pacup
pdm pdm: 2.18.1 -> 2.18.2 2024-09-11 00:21:02 +00:00
pkg treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
poetry treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
poetry2conda
protontricks
repro-get
rpm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
smlpkg
xbps
yarn-lock-converter