Commit Graph

23 Commits

Author SHA1 Message Date
jopejoe1
6e0d9cff65 linuxPackages.rtl8189es: add pname 2026-01-14 19:37:33 +01:00
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
48fa66b0c7 linuxPackages.rtl8189es: 2025-04-29 -> 2025-09-26
Diff: 7b43c5c797...0a5d04114f

- Update to the latest upstream version.

- This update adds fixes for Linux kernels 6.16 and 6.17.
2025-11-11 05:42:41 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
cy
0c6c817aa8 linuxPackages.rtl8189es: 2024-01-21 -> 2025-04-29
changelog: eb51e021b0...7b43c5c797
2025-05-11 12:41:17 -04:00
Maximilian Bosch
5645cd22d4 linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
K900
aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03: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
Aleksana
d6ebba3ab8 Merge pull request #314833 from Lurkki14/gpl2-pkgs-os-specific
pkgs/os-specific: remove licenses.gpl2
2024-06-21 23:57:57 +08:00
Linus Heckemann
e5adf0b547 maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
WilliButz
3e649cea04 linuxPackages.rtl8189es: 2023-03-14 -> 2024-01-21 2024-05-10 17:19:37 +02:00
misuzu
997011915d linuxPackages.rtl8189es: 2022-10-30 -> 2023-03-14 2023-04-29 12:50:57 +03:00
github-actions[bot]
8aee205b0c Merge staging-next into staging 2023-01-24 12:01:46 +00: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
misuzu
211a27df4b linuxPackages.rtl8189es: 2022-08-30 -> 2022-10-30
This fixes the build with Linux 6.1.
2022-12-15 17:47:26 +02:00
Linus Heckemann
9639a3b941 linuxPackages.rtl8189es: 2022-05-21 -> 2022-08-30
This fixes the build with Linux 5.19 and later.
2022-08-30 12:24:55 +02:00
Linus Heckemann
310b9955ce Merge pull request #181032 from puffnfresh/package/rtl8189es
rtl8189es: 2021-10-01 -> 2022-05-21
2022-08-30 12:08:12 +02:00
Alyssa Ross
5330c0a1af treewide: use isAarch where appropriate 2022-07-30 16:18:27 +00:00
Brian McKenna
d322c2aaf1 rtl8189es: 2021-10-01 -> 2022-05-21 2022-07-11 11:58:55 +10:00
Alyssa Ross
fe6c2190e8 linuxPackages.rtl8189es: mark broken on Linux 5.17 2022-03-21 13:22:59 +00:00
Nick Cao
364b75a862 rtl8189es: 2020-10-03 -> 2021-10-01, move moduleBuildDependencies to nativeBuildInputs 2022-03-07 12:23:49 +08:00
Linus Heckemann
1b94b6c8cc rtl8189es: init at 2020-10-03
Co-Authored-By: Linus Heckemann <git@sphalerite.org>
2022-01-23 12:55:16 +01:00