nixpkgs/pkgs/by-name/gh
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
..
gh-actions-cache gh-actions-cache: move to by-name 2024-08-04 13:37:10 +02:00
gh-copilot
gh-dash gh-dash: 4.5.2 -> 4.5.4 2024-08-18 13:56:56 +02:00
gh-eco
gh-f gh-f: 1.1.5 -> 1.1.6 2024-09-16 17:17:23 +00:00
gh-gei pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
gh-i gh-i: 0.0.7 -> 0.0.8 2024-08-10 13:38:00 +00:00
gh-markdown-preview gh-markdown-preview: 1.7.0 -> 1.8.0 2024-09-10 12:59:47 +00:00
gh-notify gh-notify: 0-unstable-2024-04-24 -> 0-unstable-2024-08-01 2024-09-06 20:04:58 +00:00
gh-poi
gh-s
gh-screensaver
ghciwatch treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ghdl ghdl: enable builds on "x86_64-darwin" (#335975) 2024-09-03 19:51:19 +08:00
ghex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ghfetch
ghi
ghunt