nixpkgs/pkgs/by-name/am
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
..
am2rlauncher pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
amazon-ec2-utils amazon-ec2-utils: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:44 +02:00
amazon-ssm-agent treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
amber-lang amber-lang: add aleksana as maintainer 2024-06-28 20:27:27 +08:00
amd-ucodegen amd-ucodegen: init at 0-unstable-2017-06-07 2024-08-03 17:07:01 +02:00
amdenc amdenc: init at 1.0-1787253 2024-08-09 08:01:11 +02:00
amdvlk amdvlk: sha256hash 2024-09-17 06:34:07 +00:00
amf amf: init at 1.4.34-1787253 2024-08-09 08:16:12 +02:00
amfora treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
amp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
amphetype amphetype: fix qt wrapping 2024-04-06 09:14:49 +02:00