Commit Graph

14 Commits

Author SHA1 Message Date
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
ccicnce113424
954600a7c0 pkgsLLVM.linuxPackages: fix kernel modules building by setting makeFlags 2025-09-03 16:22:28 +05:30
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Sigmanificient
670aba9a64 treewide: remove unused arguments 2025-03-13 18:00:11 +01:00
Manuel Frischknecht
ef788d4723 vendor-reset: fix build on Linux 6.12
`asm/unaligned.h` has been moved to `linux/unaligned.h` since
Linux v. 6.12 [^1]. This has broken the build for `vendor-reset`
on newer versions.

I've opened a PR with the upstream project [^2], but that has been
sitting unmerged on GitHub for a while now, so I decided to add the
fix temporarily using `fetchpatch` in the NixOS module for now.
When it will (hopefully) eventually be merged, we should be able to
remove the patch and just switch to an up-to-date upstream version.

[^1]: 5f60d5f6bb
[^2]: https://github.com/gnif/vendor-reset/pull/86
2024-12-23 21:44:30 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Weijia Wang
80ec877acf vendor-reset: unstable-2021-02-16 -> unstable-2024-04-16 (#305306) 2024-11-03 02:54:39 +01:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Manuel Frischknecht
e608384d53 vendor-reset: unstable-2021-02-16 -> unstable-2024-04-16
The `vendor-reset` Linux kernel module stopped building as of kernel
versions 6.8.1 because `strlcopy` has been removed. An upstream patch
fixed this by replacing the only callsite with `strscpy` [^1].

As the patch has already been merged into `master`, I updated the
nix package to the latest trunk commit and labeled the version
as `unstable-2024-04-16`.

Since the only patch specified in the package has already been
merged in late 2022 [^2], we can remove that one as well.

[^1]: https://github.com/gnif/vendor-reset/pull/79
[^2]: https://github.com/gnif/vendor-reset/pull/58
2024-04-19 15:01:19 +02:00
ajs124
95d1c56385 maintainers: remove wedens
no github account linked
2022-06-29 00:55:00 +02:00
Alyssa Ross
7519523f83 linuxPackages.vendor-reset: enable parallel building
Tested at -j48.
2022-05-25 12:21:05 +00:00
Alyssa Ross
b36ba49e88 linuxPackages.vendor-reset: patch for Linux 5.18 2022-05-25 12:21:05 +00:00
Felix Buehler
b5e0221e44 treewide: use pname&version instead of name 2021-12-24 15:51:27 +01:00
wedens
0968946551 vendor-reset: init at unstable-2021-02-16 2021-04-06 10:49:58 +07:00