nixpkgs/pkgs/tools/nix
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
..
alejandra treewide: Remove the definite article from meta.description 2024-06-09 23:08:46 +02:00
dnadd
fh treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gridlock treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
info treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-init treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nix-melt nix-melt: 0.1.2 -> 0.1.3 2024-09-16 11:33:54 -04:00
nix-output-monitor nix-output-monitor: 2.1.2 -> 2.1.3 2024-07-28 21:38:18 +02:00
nix-query-tree-viewer treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
nix-script treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
nixci treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nixdoc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nixel treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
nixos-generators
nixos-install-tools nixos-install-tools: make nixos-install/enter overridable 2024-09-20 11:19:01 +02:00
nixos-option lib/modules: improve error message when option is being accessed that isn't defined 2024-09-01 23:29:21 +02:00
nixos-render-docs treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
nixpkgs-hammering treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
nixpkgs-lint treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
npins treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rnix-hashes treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
statix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
zon2nix
web-devmode.nix web-devmode: call as package 2024-07-26 13:43:59 -07:00