nixpkgs/pkgs/development/misc
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
..
avr/libc avr-libc: 2.2.0 -> 2.2.1 2024-08-17 16:00:00 -07:00
avr8-burn-omat
breakpad treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
brev-cli brev-cli: 0.6.284 -> 0.6.287 2024-05-31 02:03:45 +00:00
cppreference-doc cppreference-doc: 20230810 -> 20240610 2024-06-11 02:55:26 +00:00
datafusion treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gokrazy
h3 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
haskell changelog-d: 1.0 -> 1.0.1 2024-08-20 15:33:18 +02:00
juce treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
loc Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 08:41:08 +03:00
msp430 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
newlib treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
or1k Clean up cross bootstrapping 2024-09-06 10:26:56 -04:00
rappel treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
resholve treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rpiboot
umr treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
vc4 Clean up cross bootstrapping 2024-09-06 10:26:56 -04:00
yelp-tools treewide: remove unused occurence of stdenv (and other) arguments 2024-07-14 04:32:56 +02:00