Commit Graph

25 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
magicquark
5d29c7df43 linuxPackages.rtl8821au: mark broken on kernel versions < 5.4 and > 6.14
- 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.
2025-11-14 02:04:02 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
cy
22966fa889 linuxPackages.rtl8821au: fix meta.homepage 2025-05-11 13:01:09 -04:00
cy
9fecdecb86 linuxPackages.rtl8821au: unstable-2024-03-16 -> unstable-2025-04-08
changelog: 168ac48174...b90b76d307
2025-05-11 12:59:21 -04: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
Alois Wohlschlager
cedeb6c36b linuxPackages.rtl8821au: unstable-2023-07-23 -> unstable-2024-03-16
This includes a build fix against Linux 6.8.
2024-03-16 14:24:33 +01:00
Jeremie Huchet
710796a1b5 linuxPackages.rtl8821au: 2023-07-20 -> 2023-07-23
fix module build with kernel 6.1.39+

Diff: 072413261b...0dc022287b
2023-07-23 14:21:09 +02:00
Nick Cao
067d3fb75e linuxPackages.rtl8821au: unstable-2023-03-22 -> unstable-2023-07-20
Diff: a133274b05...072413261b
2023-07-22 10:12:48 +08:00
Alexandre Iooss
d6ac866613 rtl8821au: unstable-2022-12-22 -> unstable-2023-03-22 2023-05-21 12:01:26 +02:00
Artturin
cab4a24c34 treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs
2023-03-11 00:55:17 +02:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
6e3bff617f treewide: remove replacements of '$(shell uname -r)' with '${kernel.modDirVersion}'
after adding deterministic-uname to kernel.moduleBuildDependencies this
is unnecessary
2023-01-22 13:46:12 +02:00
Samuel Dionne-Riel
727cb55005 rtl8821au: 2022-08-22 -> 2022-12-22 2022-12-22 23:12:50 -05:00
Samuel Dionne-Riel
1df9101cd3 rtl8821au: Fix build for ARM 2022-12-22 22:20:23 -05:00
superherointj
7e1072f6e5 linuxPackages.rtl8821au: unstable-2022-03-08 -> unstable-2022-08-22 2022-08-23 09:03:01 -03:00
Alyssa Ross
39a1e04f4a linuxPackages.rtl8821au: 2021-11-05 -> 2022-03-08
Fixes the build with Linux 5.17.
2022-03-20 22:44:22 +00:00
Alyssa Ross
8cc3c4ff6e linuxPackages.rtl8821au: 2021-05-18 -> 2021-11-05
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.
2021-11-06 11:58:54 -07:00
Alyssa Ross
177074e3cb linuxPackages.rtl8821au: parallel build
So much faster.  Tested at -j48.
2021-08-30 11:35:52 +00:00
fortuneteller2k
f49504d95f linuxPackages.rtl8821au: switch to a more maintained fork 2021-05-20 11:46:46 -07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Eelco Dolstra
711cbb9117 rtl8812au, rtl8821au: Prevent runtime dependency on kernel.dev 2019-09-23 19:23:21 +02:00
Jonas Beyer
0778b2c9ea rtl8821au: update for Linux 5.0 2019-05-06 10:56:30 +02:00
plchldr
0972bde7d2 rtl8821a: init at 5.1.5 2018-11-25 10:11:33 +01:00