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"
```
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_dev_info -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_dev_info --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_dev_info -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_dev_info --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_rdm_discover -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_rdm_discover --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_rdm_discover -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_rdm_discover --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_rdm_discover -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_rdm_discover --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_recorder help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_streaming_client -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_streaming_client --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_streaming_client -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_streaming_client --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_streaming_client -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_streaming_client --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_timecode -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_timecode --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_timecode -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_timecode --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_timecode -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_timecode --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_uni_stats -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_uni_stats --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_uni_stats -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_uni_stats --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_uni_stats -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_uni_stats --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_e131 -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_e131 --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_e131 -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_e131 --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_e131 -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_e131 --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_usbpro -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_usbpro --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_usbpro -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_usbpro --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_usbpro -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_usbpro --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_artnet -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_artnet --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_artnet -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_artnet --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_artnet -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_artnet --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/olad -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/olad --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/olad -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/olad --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/olad -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/olad --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_trigger -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_trigger --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_trigger -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_trigger --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_trigger -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/ola_trigger --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/usbpro_firmware -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/usbpro_firmware --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/usbpro_firmware -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/usbpro_firmware --help` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/rdmpro_sniffer -h` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/rdmpro_sniffer --help` got 0 exit code
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/rdmpro_sniffer -v` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/rdmpro_sniffer --version` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/rdmpro_sniffer -h` and found version 0.10.6
- ran `/nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6/bin/rdmpro_sniffer --help` and found version 0.10.6
- found 0.10.6 with grep in /nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6
- found 0.10.6 in filename of file in /nix/store/vsgqasz32h5fmhmka4s357yf5341bmh0-ola-0.10.6
cc "@globin"