Commit Graph

20 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
Weijia Wang
59c8508a5e feroxbuster: fix build on darwin 2024-05-22 14:18:14 +02:00
R. Ryantm
db76929d68 feroxbuster: 2.10.2 -> 2.10.3 2024-04-27 12:58:26 +00:00
Fabian Affolter
1845be7374 feroxbuster: 2.10.1 -> 2.10.2
Diff: https://github.com/epi052/feroxbuster/compare/refs/tags/v2.10.1...v2.10.2

Changelog: https://github.com/epi052/feroxbuster/releases/tag/v2.10.2
2024-03-02 10:01:04 +01:00
h7x4
b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
R. Ryantm
9b5effc2be feroxbuster: 2.10.0 -> 2.10.1 2023-11-09 07:04:13 +00:00
Fabian Affolter
d512a7a084 feroxbuster: 2.9.5 -> 2.10.0
Changelog: https://github.com/epi052/feroxbuster/releases/tag/v2.10.0
2023-05-07 00:04:26 +02:00
Fabian Affolter
7d12f0f413 feroxbuster: 2.9.4 -> 2.9.5
Diff: https://github.com/epi052/feroxbuster/compare/refs/tags/v2.9.4...v2.9.5

Changelog: https://github.com/epi052/feroxbuster/releases/tag/v2.9.5
2023-04-27 17:17:07 +02:00
Fabian Affolter
ed57dc06a1 feroxbuster: 2.9.3 -> 2.9.4
Diff: https://github.com/epi052/feroxbuster/compare/refs/tags/v2.9.3...v2.9.4

Changelog: https://github.com/epi052/feroxbuster/releases/tag/v2.9.4
2023-04-22 10:37:18 +02:00
Fabian Affolter
e719b53773 feroxbuster: 2.9.2 -> 2.9.3
Diff: https://github.com/epi052/feroxbuster/compare/refs/tags/v2.9.2...v2.9.3

Changelog: https://github.com/epi052/feroxbuster/releases/tag/v2.9.3
2023-04-12 09:32:26 +02:00
R. Ryantm
9341dd68ec feroxbuster: 2.9.1 -> 2.9.2 2023-03-22 02:47:38 +00:00
Fabian Affolter
5f85863f1e feroxbuster: 2.7.1 -> 2.9.1
Diff: https://github.com/epi052/feroxbuster/compare/refs/tags/v2.7.1...v2.9.1

Changelog: https://github.com/epi052/feroxbuster/releases/tag/v2.9.1
2023-03-18 11:11:50 +01:00
Fabian Affolter
906f0ece7c feroxbuster: add changelog to meta 2022-12-23 22:47:51 +01:00
Weijia Wang
53e77529ab feroxbuster: fix build on aarch64-linux 2022-12-23 16:15:03 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Fabian Affolter
ac06603e84 feroxbuster: 2.7.0 -> 2.7.1 2022-05-14 13:06:12 +02:00
Fabian Affolter
35fb3cc6fc feroxbuster: 2.6.4 -> 2.7.0 2022-04-22 09:28:00 +02:00
Fabian Affolter
f1f1c062e7 feroxbuster: 2.6.2 -> 2.6.4 2022-04-10 21:05:45 +02:00
Fabian Affolter
f79f183281 feroxbuster: 2.6.1 -> 2.6.2 2022-04-08 12:40:46 +02:00
Fabian Affolter
ed99c5e046 feroxbuster: init at 2.6.1 2022-03-16 19:04:34 +01:00