Commit Graph

21 Commits

Author SHA1 Message Date
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
R. Ryantm
261950dfef linuxPackages.nct6687d: 0-unstable-2026-02-19 -> 0-unstable-2026-03-13 2026-03-14 16:56:20 +00:00
R. Ryantm
8c7e3ab0b9 linuxPackages.nct6687d: 0-unstable-2026-01-16 -> 0-unstable-2026-02-19 2026-02-26 06:12:43 +00:00
R. Ryantm
5b0b8bea69 linuxPackages.nct6687d: 0-unstable-2025-10-24 -> 0-unstable-2026-01-16 2026-01-21 15:29:04 +00:00
Aleksana
186a96aebb linuxPackages.nct6687d: 0-unstable-2025-08-23 -> 0-unstable-2025-10-24 (#455598) 2025-12-11 09:44:25 +00: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
R. Ryantm
8b80d7f643 linuxPackages.nct6687d: 0-unstable-2025-08-23 -> 0-unstable-2025-10-24 2025-10-25 15:14:47 +00:00
R. Ryantm
5789efc4ca linuxPackages.nct6687d: 0-unstable-2025-06-30 -> 0-unstable-2025-08-23 2025-08-24 22:01:23 +00:00
R. Ryantm
fda88a7ec3 linuxPackages.nct6687d: 0-unstable-2025-06-19 -> 0-unstable-2025-06-30 2025-07-03 07:31:36 +00:00
R. Ryantm
c86ced8419 linuxPackages.nct6687d: 0-unstable-2025-05-17 -> 0-unstable-2025-06-19 2025-06-23 11:26:43 +00:00
R. Ryantm
944aac15d7 linuxPackages.nct6687d: 0-unstable-2025-04-27 -> 0-unstable-2025-05-17 2025-05-24 17:06:30 +00:00
R. Ryantm
b5f348ddc7 linuxPackages.nct6687d: 0-unstable-2024-11-05 -> 0-unstable-2025-04-27 2025-04-30 17:59:02 +00:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01: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
R. Ryantm
0deecde1d4 linuxPackages.nct6687d: 0-unstable-2024-09-02 -> 0-unstable-2024-11-05 2024-12-04 11:28:52 +00:00
John Titor
f8a752fa37 linuxPackages_latest.nct6687d: 0-unstable-2024-02-23 -> 0-unstable-2024-09-02 2024-09-18 21:33:15 +05:30
Atemu
51a865e8e4 linuxPackages.nct6687d: unstable-2023-09-22 -> 0-unstable-2024-02-23 2024-04-19 14:30:57 +02:00
Atemu
2dc85cf8c0 linuxPackages.nct6687d: add updateScript 2024-04-19 14:30:57 +02:00
Atemu
024951bf24 kernelPackages.nct6687d: init at unstable-2023-09-22 2023-10-01 15:02:58 +02:00