nixpkgs/pkgs/by-name/me/meson
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
..
000-nixpkgs-cmake-prefix-path.patch meson: add support for NIXPKGS_CMAKE_PREFIX_PATH 2024-07-27 18:36:23 +00:00
001-fix-rpath.patch
002-clear-old-rpath.patch
003-more-env-vars.patch
004-gir-fallback-path.patch
005-boost-Do-not-add-system-paths-on-nix.patch
006-disable-bitcode.patch
007-case-sensitive-fs.patch meson: fix extraframework dependencies on case-sensitive APFS 2024-07-26 18:12:25 -04:00
007-freebsd-pkgconfig-path.patch
0001-Revert-rust-recursively-pull-proc-macro-dependencies.patch
emulator-hook.sh
package.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
setup-hook.sh meson: remove unused crossMesonFlags from setup hook 2024-08-03 12:56:07 +02:00