Commit Graph

16 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
8c846950af krill: 0.14.4 -> 0.14.5 2024-06-28 01:29:42 +00:00
R. Ryantm
2d77fcb17d krill: 0.14.2 -> 0.14.4 2023-12-16 04:27:16 +00:00
0x4A6F
11b999c9a0
krill: disable failing tests on darwin 2023-11-30 15:20:42 +01:00
0x4A6F
cc555148a1
krill: 0.13.0 -> 0.14.2 2023-11-29 10:40:53 +01:00
R. Ryantm
62de9b1c93 krill: 0.13.0 -> 0.13.1 2023-06-04 08:32:44 +00:00
R. Ryantm
2f682e5b6c krill: 0.12.3 -> 0.13.0 2023-05-28 11:33:06 +00:00
R. Ryantm
f8b3e17f26 krill: 0.12.2 -> 0.12.3 2023-03-12 11:49:37 +00:00
R. Ryantm
ee6bc5a597 krill: 0.12.1 -> 0.12.2 2023-02-25 10:18:52 +00:00
R. Ryantm
523e1db565 krill: 0.12.0 -> 0.12.1 2023-01-21 14:35:25 +00:00
R. Ryantm
8ff6f635f4 krill: 0.11.0 -> 0.12.0 2022-11-02 02:05:27 +00:00
Bobby Rong
684d02aeea
krill: update changelog url 2022-10-22 15:38:25 +08:00
R. Ryantm
c9ea0b96f6 krill: 0.10.0 -> 0.11.0 2022-10-05 14:39:03 +00:00
R. Ryantm
ba473eeda4 krill: 0.9.6 -> 0.10.0 2022-09-06 15:00:49 +00:00
R. Ryantm
e48cd6280c krill: 0.9.4 -> 0.9.6 2022-07-29 12:26:09 +00:00
Steamwalker
7ef341275e krill: init at 0.9.4 2021-12-29 18:21:21 +01:00