Commit Graph

6 Commits

Author SHA1 Message Date
Kirill Radzikhovskyy
bf1088cf5a github-runner: nixfmt-rfc-style 2024-10-04 16:01:25 +10:00
Kirill Radzikhovskyy
930f9daf23 github-runner: 2.319.1 -> 2.320.0
Changelog: https://github.com/actions/runner/releases/tag/v2.320.0

github-runner: fix patch that doesn't apply
2024-10-04 16:01:17 +10: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
Alex Martens
80f8973af8 github-runner: remove newam from maintainers 2024-09-05 21:36:53 -07:00
R. Ryantm
43064d95b8 github-runner: 2.319.0 -> 2.319.1 2024-08-18 03:16:38 +00:00
Jonas Chevalier
9a645edbb7
github-runner: move to by-name (#333309)
Allow the merge bot to work
2024-08-12 11:09:36 +02:00