Commit Graph

15 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
0d71372195 cdk-go: 1.5.2 -> 1.5.3 2024-05-19 12:27:36 +00:00
R. Ryantm
0f47213252 cdk-go: 1.5.1 -> 1.5.2 2023-03-15 02:20:14 +00:00
Fabian Affolter
f04951a467
cdk-go: add changelog to meta 2023-01-07 23:00:15 +01:00
R. Ryantm
a9b660b534 cdk-go: 1.5.0 -> 1.5.1 2023-01-07 21:24:35 +00:00
R. Ryantm
a04f64ee31 cdk-go: 1.4.1 -> 1.5.0 2022-09-26 11:36:44 +00:00
R. Ryantm
bfdba53e1e cdk-go: 1.4.0 -> 1.4.1 2022-09-20 12:51:52 +00:00
R. Ryantm
8dd37a90d5 cdk-go: 1.3.0 -> 1.4.0 2022-09-05 09:42:43 +00:00
R. Ryantm
4d9ac2f797 cdk-go: 1.2.0 -> 1.3.0 2022-07-11 03:15:15 +00:00
R. Ryantm
a379d2bbc0 cdk-go: 1.0.6 -> 1.2.0 2022-07-08 05:08:52 +00:00
R. Ryantm
af291f935f cdk-go: 1.0.5 -> 1.0.6 2022-03-12 03:14:01 +00:00
R. Ryantm
40c62d04c7 cdk-go: 1.0.4 -> 1.0.5 2022-03-07 02:27:20 +00:00
Dmitry Kalinkin
775f5098c7
packer,cdk-go,gotop: mark as broken on darwin due to using an outdated gopsutil 2021-12-23 00:08:39 -05:00
figsoda
9bf9e3423b
cdk-go: set meta.mainProgram 2021-10-10 21:16:09 -04:00
Fabian Affolter
a1128e9f25 cdk-go: init at 1.0.4 2021-10-08 09:28:06 +02:00