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>
- On Hydra, builds for kernel version 5_10, 5_15, 6_1, 6_6 and 6_12
succeed, but the build for the latest latest kernel version 6_17 is
failing.
- The upstream provider of the driver only supports kernel versions
between version 5.4 and 6.14, inclusive. This is partly because a
driver has been up-streamed into the kernel, so the package is not
needed for recent drivers.
[Reference](https://github.com/morrownr/8821au-20210708.)
- Because of this, mark the driver as broken on the relevant kernel
versions.
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
Fixes build with Linux 5.15.
The repo name has changed. The old repo has changed to just a README
that tells you which versioned repository you should look at. It's a
bit strange. I've left the old repo as the homepage, because that's
the place to look while updating to see if there's a new code repo to
use.