nixpkgs/pkgs/games/steam
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
..
build-wrapped.sh
default.nix glxinfo: replace with mesa-demos 2024-08-28 14:38:12 +02:00
fhsenv.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
runtime-wrapped.nix steam.runtime-wrapped: use throw, not abort 2023-11-29 09:44:43 +01:00
runtime.nix Merge pull request #293540 from r-ryantm/auto-update/steamPackages.steam-runtime 2024-06-17 20:29:18 +02:00
steam.nix steamPackages.steam: 1.0.0.74 -> 1.0.0.81 2024-09-22 10:25:19 +12:00
steamcmd.nix steamPackages.steamcmd: add mainProgram, fix fetch url to use an archive (#312753) 2024-06-05 01:35:39 +02:00
steamcmd.sh
update-bootstrap.py steamPackages.steam: add update script 2024-09-22 10:18:34 +12:00