Commit Graph

36 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
4b5dd70639 codeium: 1.14.15 -> 1.16.11 2024-09-14 02:56:19 +00:00
R. Ryantm
9fcdfda336 codeium: 1.14.11 -> 1.14.15 2024-09-03 08:44:30 +00:00
R. Ryantm
3695d746a2 codeium: 1.10.0 -> 1.14.11 2024-08-28 07:24:58 +00:00
Gaetan Lepage
894542eecb codeium: 1.8.80 -> 1.10.0 2024-07-25 07:38:57 +02:00
Gaetan Lepage
d959d69fa1 codeium: 1.8.69 -> 1.8.80 2024-07-04 10:31:00 +02:00
R. Ryantm
519b678e12 codeium: 1.8.61 -> 1.8.69 2024-06-23 00:05:30 +00:00
Gaetan Lepage
003f25c869 codeium: 1.8.57 -> 1.8.61 2024-06-14 07:46:01 +02:00
Gaetan Lepage
53ba9488da codeium: 1.8.51 -> 1.8.57 2024-06-06 07:43:05 +02:00
R. Ryantm
342abfc7e6 codeium: 1.8.42 -> 1.8.51 2024-05-31 19:35:57 +00:00
Gaetan Lepage
165fc39538 codeium: 1.8.32 -> 1.8.42 2024-05-20 20:15:48 +02:00
R. Ryantm
1288e458b5 codeium: 1.8.30 -> 1.8.32 2024-05-07 08:30:49 +00:00
R. Ryantm
8c0b9ca79f codeium: 1.8.27 -> 1.8.30 2024-04-30 09:00:32 +00:00
Gaetan Lepage
f8d3ea2062 codeium: 1.8.25 -> 1.8.27 2024-04-23 07:55:24 +02:00
R. Ryantm
4088f2f6d0 codeium: 1.8.22 -> 1.8.25 2024-04-13 04:06:18 +00:00
Gaetan Lepage
5c8f89b1a6 codeium: 1.8.16 -> 1.8.22 2024-04-06 11:01:06 +02:00
R. Ryantm
3612f058ee codeium: 1.8.13 -> 1.8.16 2024-03-24 08:34:28 +00:00
R. Ryantm
a92e97e7bb codeium: 1.8.5 -> 1.8.13 2024-03-17 05:28:48 +00:00
Gaetan Lepage
2a47255373 codeium: 1.8.0 -> 1.8.5 2024-03-06 23:43:49 +01:00
Gaetan Lepage
5c4585c55f codeium: 1.6.39 -> 1.8.0 2024-03-01 09:00:37 +01:00
R. Ryantm
3743c6b4d6 codeium: 1.6.38 -> 1.6.39 2024-02-22 08:31:46 +00:00
R. Ryantm
49301882ac codeium: 1.6.36 -> 1.6.38 2024-02-18 18:09:59 +00:00
R. Ryantm
e7760c0f89 codeium: 1.6.34 -> 1.6.36 2024-02-15 11:21:10 +00:00
R. Ryantm
eb9d064fc6 codeium: 1.6.30 -> 1.6.34 2024-02-12 00:02:09 +00:00
R. Ryantm
2a3271c6e9 codeium: 1.6.28 -> 1.6.30 2024-02-04 16:17:07 +00:00
Gaetan Lepage
3f570fbf07 codeium: 1.6.26 -> 1.6.28 2024-01-31 07:56:12 +01:00
Gaetan Lepage
4b72140d46 codeium: 1.6.23 -> 1.6.26 2024-01-24 07:37:24 +01:00
Gaetan Lepage
dcd05b9149 codeium: 1.6.22 -> 1.6.23 2024-01-17 23:42:20 +01:00
Gaetan Lepage
0f233e832e codeium: 1.6.20 -> 1.6.22 2024-01-13 22:08:30 +01:00
Gaetan Lepage
8f0473328f codeium: 1.6.18 -> 1.6.20 2024-01-09 14:22:33 +01:00
Gaetan Lepage
1b498f741d codeium: 1.6.16 -> 1.6.18 2024-01-05 08:29:23 +01:00
R. Ryantm
005b9be224 codeium: 1.6.10 -> 1.6.16 2023-12-31 09:07:14 +00:00
happysalada
51fd8374c8 codeium: 1.4.26 -> 1.6.10 2023-12-14 10:51:16 +09:00
R. Ryantm
951aa64d23 codeium: 1.4.16 -> 1.4.26 2023-12-04 23:45:30 +00:00
R. Ryantm
0f7262dff7 codeium: 1.2.104 -> 1.4.16 2023-11-11 02:04:36 +00:00
Pavel Anpin
b24f9836f2 codeium: init at 1.2.104 2023-10-14 18:19:53 +02:00