nixpkgs/pkgs/by-name/ko
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
..
koboldcpp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
koji treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
kokkos treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kolla kolla: init at 18.1.0 2024-08-08 15:33:53 +02:00
komac treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
konbucase treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
konf grafterm, konf, octosql, promql: move to by-name hierarchy 2024-07-12 16:54:33 +02:00
kontemplate treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
kontroll style: remove overuse of with lib; 2024-07-31 15:18:55 +01:00
koodo-reader treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
koodousfinder treewide: remove pythonRelaxDepsHook references 2024-06-14 14:52:00 +02:00
kooha kooha: 2.2.4 -> 2.3.0 2024-06-26 10:47:26 +03:00
kor kor: 0.5.4 -> 0.5.5 2024-08-21 04:33:46 +00:00
kotlin-interactive-shell kotlin-interactive-shell: update mvnHash 2024-07-04 01:13:10 +02:00