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 meson: rename patches 2023-10-30 16:32:56 -03:00
002-clear-old-rpath.patch meson: rename patches 2023-10-30 16:32:56 -03:00
003-more-env-vars.patch meson: rename patches 2023-10-30 16:32:56 -03:00
004-gir-fallback-path.patch meson: rename patches 2023-10-30 16:32:56 -03:00
005-boost-Do-not-add-system-paths-on-nix.patch meson: 1.4.0 -> 1.4.1 2024-05-31 16:11:51 +01:00
006-disable-bitcode.patch meson: rename patches 2023-10-30 16:32:56 -03:00
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 meson: fix build for native FreeBSD 2024-05-17 18:29:27 -07:00
0001-Revert-rust-recursively-pull-proc-macro-dependencies.patch meson: fix cross-compilation of rust proc-macro 2024-04-09 08:47:03 +02:00
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