Commit Graph

10 Commits

Author SHA1 Message Date
Weijia Wang
02871d95eb mesonlsp: fix aarch64-darwin build, mark as broken on x86_64-darwin 2024-11-09 00:23:35 +01:00
R. Ryantm
45d7127c77 mesonlsp: 4.3.5 -> 4.3.7 2024-11-02 19:22:06 +01: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
R. Ryantm
b8a7670d76 mesonlsp: 4.3.4 -> 4.3.5 2024-09-20 12:24:45 +00:00
R. Ryantm
9340c46c00 mesonlsp: 4.3.3 -> 4.3.4 2024-09-01 07:46:13 +00:00
Pavel Sobolev
03605dfc81
mesonlsp: 4.3.2 -> 4.3.3 2024-08-18 10:44:15 +03:00
Pavel Sobolev
fefc54e71e
mesonlsp: 4.3.1 -> 4.3.2 2024-08-04 11:33:50 +03:00
Pavel Sobolev
a72e83bdc6
mesonlsp: 4.3.0 -> 4.3.1 2024-07-12 20:53:41 +03:00
Pavel Sobolev
72cbf30c72
mesonlsp: 4.2.2 -> 4.3.0 2024-07-03 21:39:21 +03:00
Pavel Sobolev
f6bed958b8
mesonlsp: init at 4.2.2 2024-06-25 23:08:13 +03:00