Commit Graph

14 Commits

Author SHA1 Message Date
Artturin
63fa53d97c treewide: reformat files which need reformatting after
`treewide: replace stdenv.is with stdenv.hostPlatform.is`
2024-09-25 00:04:39 +03: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
R. Ryantm
1763b8acbd chainsaw: 2.9.1-2 -> 2.9.2 2024-07-13 09:48:12 +00:00
R. Ryantm
1d3cd83585 chainsaw: 2.9.1 -> 2.9.1-2 2024-07-02 02:43:26 +00:00
R. Ryantm
a929d8bb2c chainsaw: 2.9.0 -> 2.9.1 2024-06-21 12:34:31 +00:00
Fabian Affolter
5abb794859 chainsaw: format with nixfmt 2024-04-16 10:54:43 +02:00
Fabian Affolter
76b3622967 chainsaw: add ldflags 2024-04-16 10:54:26 +02:00
R. Ryantm
f3c53de0eb chainsaw: 2.8.1 -> 2.9.0 2024-04-16 00:28:00 +00: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
Kirill Radzikhovskyy
2a8bf29dca chainsaw: de-vendor Cargo.lock 2024-01-13 11:17:58 +09:00
Fabian Affolter
dde1b03086 chainsaw: 2.8.0 -> 2.8.1
Diff: https://github.com/WithSecureLabs/chainsaw/compare/refs/tags/v2.8.0...v2.8.1

Changelog: https://github.com/WithSecureLabs/chainsaw/releases/tag/v2.8.1
2023-11-22 08:44:25 +01:00
Fabian Affolter
a855c8421b chainsaw: 2.7.3 -> 2.8.0
Diff: https://github.com/WithSecureLabs/chainsaw/compare/refs/tags/v2.7.3...v2.8.0

Changelog: https://github.com/WithSecureLabs/chainsaw/releases/tag/v2.8.0
2023-11-11 10:05:58 +01:00
kashw2
1510163367 chainsaw: 2.6.2 -> 2.7.3 2023-09-09 19:43:02 +10:00
Fabian Affolter
f02d7fd921 chainsaw: init at 2.6.2 2023-06-20 23:26:39 +02:00