nixpkgs/pkgs/by-name/ke
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
..
keedump
keep-sorted
keepass treewide: fix runHook spelling mistakes 2024-07-05 12:21:15 +08:00
keepassxc-go keepassxc-go: unbreak on darwin 2024-08-07 08:48:43 +02:00
keeweb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kermit-terminal Merge pull request #318917 from jzbor/update-kermit-terminal 2024-06-11 11:04:29 +02:00
kernel-hardening-checker
keto pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
kew
key-rack treewide: remove existing usages of pname+version in fetchCargoTarball 2024-09-07 01:10:33 -04:00
keycard-cli treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
keycastr keycastr: added update script 2024-08-27 17:41:10 +01:00
keydb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
keym
keymapp treewide: change ${pname} to string literal (#336172) 2024-08-20 15:56:55 -07:00
keypunch keypunch: 1.0 -> 3.1 2024-09-09 20:39:58 +08:00