nixpkgs/pkgs/by-name/na
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
..
naja treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
namespace-cli namespace-cli: 0.0.388 -> 0.0.389 2024-08-13 15:23:39 +00:00
nanoboyadvance
nanoflann treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
nanomq nanomq: 0.21.8 -> 0.22.1 2024-08-24 13:24:16 +01:00
nanopb nanopb: fix build by resolving name collision 2024-08-25 01:12:26 +02:00
naproche
naps2 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nar-serve treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
narsil narsil: 1.3.0-85-g68f1491ca -> 1.3.0-187-g96d6b3bbd 2024-09-21 22:31:35 +00:00
nats-kafka
nautilus
nautilus-open-in-blackbox
nautilus-python
navidrome treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nawk nawk: uses installBin to install the binary 2024-08-28 19:56:16 -03:00