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"
```
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
ECWolf 1.4.0 made several changes that make it easier for Linux distros
to create packages for ECWolf [1]. ECWolf now generates its own desktop
shortcut, so we no longer need to use makeDesktopItem. ECWolf now also
will look in the CMAKE_INSTALL_PREFIX/share/ecwolf directory for
ecwolf.pk3, so we no longer need to patch src/version.h or copy
ecwolf.pk3 manually.
[1]: 55a28ec7e1
This change makes ecwolf’s src slightly simpler. It also makes ecwolf’s
src more future proof. When ECWolf 2.0 is released, the “1.x” in the
maniacsvault.net URL is likely to change, but the Bitbuck repo isn’t
likely to change. Additionally, this change reduces the difference
between ecwolf’s default.nix and lzwolf’s default.nix (LZWolf is a fork
of ECWolf). Finally, this change makes nixpkgs rely on bitbucket.org
instead of maniacsvault.net. bitbucket.org is probably more reliable
than maniacsvault.net.