Commit Graph

15 Commits

Author SHA1 Message Date
Rafael Fernández López
845d19319c
wamr: 2.1.1 -> 2.2.0 2024-10-22 09:00:29 +02:00
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
Rafael Fernández López
4329250e0f
wamr: 2.1.0 -> 2.1.1 2024-07-16 12:51:55 +02:00
Rafael Fernández López
a562cefcc2 wamr: 2.0.0 -> 2.1.0 2024-06-10 13:04:20 +02:00
Rafael Fernández López
db9700fdf0 wamr: 1.3.2 -> 2.0.0 2024-04-23 09:31:39 +02:00
github-actions[bot]
145a9cb679
Merge master into staging-next 2024-02-04 18:01:14 +00:00
Rafael Fernández López
603f4c661c
wamr: 1.3.1 -> 1.3.2 2024-02-04 00:10:43 +01:00
Weijia Wang
9a1126f9bc treewide: move darwinSdkVersion to hostPlatform 2024-01-29 21:53:19 +01:00
Rafael Fernández López
d92b537652
wamr: 1.3.0 -> 1.3.1 2024-01-13 19:32:40 +01:00
Rafael Fernández López
634efac014
wamr: fix darwin build 2023-12-13 15:57:05 +01:00
Rafael Fernández López
3a743db2b1
wamr: 1.2.3 -> 1.3.0 2023-12-09 13:43:27 +01:00
Rafael Fernández López
8477a77375 wamr: 1.2.2 -> 1.2.3 2023-08-23 21:45:01 +02:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Rafael Fernández López
fbb732aebc wamr: use finalAttrs pattern 2023-06-12 19:33:28 +02:00
Rafael Fernández López
0a3aeb76b9 wamr: init at 1.2.2 2023-05-22 19:47:14 +00:00