Commit Graph

11 Commits

Author SHA1 Message Date
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
17b38e58a1 rcp: 0.12.0 -> 0.13.0 2024-09-02 17:46:06 +00:00
R. Ryantm
4ef4389aa4 rcp: 0.11.0 -> 0.12.0 2024-08-26 23:52:33 +00:00
R. Ryantm
3d89dabfb7 rcp: 0.10.1 -> 0.11.0 2024-07-02 18:19:23 +00:00
R. Ryantm
ce2eaddb1a rcp: 0.9.0 -> 0.10.1 2024-06-13 22:18:57 +00:00
Mateusz Wykurz
b8175944c8 rcp: 0.7.0 -> 0.9.0 2024-05-18 22:27:17 -06:00
Elian Doran
c08e006d36
rcp: mark as broken on darwin-x86_64 2024-05-18 16:01:00 +03:00
Elian Doran
8f153fdae6
rcp: add missing framework on darwin 2024-05-18 16:00:41 +03:00
Mateusz Wykurz
10aa8cf06a rcp: 0.6.0 -> 0.7.0 2024-03-24 15:05:19 -06:00
Mateusz Wykurz
c1984a920f rcp: 0.5.0 -> 0.6.0 2024-02-12 22:06:49 -07:00
Mateusz Wykurz
3078b96eb2 rcp: init at 0.5.0 2024-01-24 11:40:27 -07:00