nixpkgs/pkgs/development/beam-modules
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
..
elixir-ls elixir-ls: 0.21.3 -> 0.23.0 2024-08-04 07:48:35 +02:00
elvis-erlang elvis-erlang: 3.1.0 -> 3.2.5 (#326803) 2024-09-12 22:25:52 +02:00
erlang-ls treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
erlfmt erlfmt: 1.3.0 -> 1.5.0 2024-09-04 00:28:11 +00:00
ex_doc
hex
pc
pgsql
rebar3-nix
rebar3-proper
webdriver
build-erlang-mk.nix
build-hex.nix
build-mix.nix
build-rebar3.nix
default.nix elixir: 1.16 -> 1.17 update default 2024-08-31 17:17:13 +09:30
fetch-hex.nix
fetch-mix-deps.nix
fetch-rebar-deps.nix
lib.nix
mix-configure-hook.sh
mix-release.nix
rebar3-release.nix