Commit Graph

14 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
5988d543c1 kubeclarity: 2.23.2 -> 2.23.3 2024-07-22 03:57:02 +00:00
R. Ryantm
9150bcbd2d kubeclarity: 2.23.1 -> 2.23.2 2024-07-12 02:48:44 +00:00
John Lago
043b2eb6ef kubeclarity: fix Darwin build 2024-05-07 10:11:36 -07:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
d2c774803b kubeclarity: 2.23.0 -> 2.23.1 2024-01-09 14:03:26 +00:00
R. Ryantm
4c3c8d6041 kubeclarity: 2.22.1 -> 2.23.0 2023-12-28 02:16:35 +00:00
R. Ryantm
719f9e144f kubeclarity: 2.22.0 -> 2.22.1 2023-12-20 08:58:28 +00:00
R. Ryantm
eda430b89e kubeclarity: 2.21.1 -> 2.22.0 2023-10-29 21:15:34 +00:00
R. Ryantm
ccc62a1bf7 kubeclarity: 2.21.0 -> 2.21.1 2023-10-05 11:47:59 +00:00
Fabian Affolter
1e43c3d010 kubeclarity: 2.19.0 -> 2.21.0
Diff: https://github.com/openclarity/kubeclarity/compare/refs/tags/v2.19.0...v2.21.0

Changelog: https://github.com/openclarity/kubeclarity/releases/tag/v2.21.0
2023-09-21 21:09:54 +02:00
R. Ryantm
ef11bcb51c kubeclarity: 2.18.1 -> 2.19.0 2023-07-01 03:27:32 +00:00
R. Ryantm
b328f15382 kubeclarity: 2.18.0 -> 2.18.1 2023-05-28 00:08:52 +00:00
Fabian Affolter
76e765c5f8 kubeclarity: rename from kubei 2023-05-20 23:25:42 +02:00