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 ex_doc: 0.32.1 -> 0.34.1 2024-06-20 19:23:13 -04:00
hex beamPackages.hex: 2.0.6 -> 2.1.1 2024-06-17 13:57:10 -04:00
pc treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pgsql
rebar3-nix
rebar3-proper
webdriver
build-erlang-mk.nix
build-hex.nix
build-mix.nix beamPackages.mixRelease: Make determinism toggleable 2023-12-08 07:23:35 +00:00
build-rebar3.nix
default.nix elixir: 1.16 -> 1.17 update default 2024-08-31 17:17:13 +09:30
fetch-hex.nix fetchHex: remove pname prefix 2024-04-25 13:44:35 +01:00
fetch-mix-deps.nix
fetch-rebar-deps.nix
lib.nix
mix-configure-hook.sh
mix-release.nix beamPackages.mixRelease: format with nixfmt-rfc-style 2024-07-24 23:17:52 -05:00
rebar3-release.nix fix: only substitute ERTS for escript builds in rebar3Relx (#266215) 2023-11-09 16:39:30 +00:00