nixpkgs/pkgs/by-name/ya
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
..
yabai treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
yabasic treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
yambar treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
yaml-filter
yamlscript yamlscript: 0.1.74 -> 0.1.75 2024-09-15 23:50:11 +00:00
yandex-cloud yandex-cloud: 0.132.1 -> 0.133.0 2024-09-14 19:42:23 +00:00
yandex-music yandex-music: 5.15.0 -> 5.18.2 2024-09-22 23:26:18 +00:00
yanic pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
yapesdl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
yara-x yara-x: 0.7.0 -> 0.8.0 2024-09-10 03:06:19 +00:00
yarg yarg: init at 0.12.6 2024-08-26 17:50:45 -04:00
yasashisa-gothic
yazi yazi, yazi-unwrapped: 0.2.5 -> 0.3.0 2024-08-01 13:18:42 -04:00
yazi-unwrapped treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00