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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 clib: 2.8.5 -> 2.8.7 2024-06-27 23:16:00 +00:00
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 emplace: 1.5.3 -> 1.6.0 2024-05-25 13:01:05 +00:00
fortran-fpm
fpm
fusesoc verilog: rename to actual name iverilog 2024-07-15 08:36:13 -07:00
gx treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
lix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
micromamba
morph treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 nixpkgs-review: 2.10.4 -> 2.10.5 2024-06-14 00:19:56 +00:00
nox
npm-check-updates
nvd
opkg treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
opkg-utils
packagekit Merge pull request #320418 from r-ryantm/auto-update/packagekit 2024-07-07 23:24:03 +02:00
pacman pacman: fix scripts 2024-08-18 02:50:53 +08:00
pacup pacup: use pname instead of name 2024-06-15 09:56:44 +02:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
protontricks treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
repro-get
rpm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
smlpkg
xbps treewide: Remove the definite article from meta.description 2024-06-09 23:08:46 +02:00
yarn-lock-converter