| Commit message (Expand) | Author | Age | Files | Lines |
| * | 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>
| Ihar Hrachyshka | 2025-12-10 | 1 | -4/+4 |
| * | linuxPackages.nullfs: 0.20 -> 0.21 | R. Ryantm | 2025-10-19 | 1 | -2/+2 |
| * | linuxPackages.nullfs: 0.19 -> 0.20 | R. Ryantm | 2025-10-13 | 1 | -2/+2 |
| * | treewide: conform descriptions to the standards | mivorasu | 2025-07-28 | 1 | -1/+1 |
| * | linuxPackages.nullfs: 0.18 -> 0.19 | R. Ryantm | 2025-06-11 | 1 | -2/+2 |
| * | linuxPackages.nullfs: 0.17 -> 0.18 | R. Ryantm | 2025-04-08 | 1 | -2/+2 |
| * | Revert "treewide: replace `rev` with `tag`"•••This reverts commit 65a333600d5c88a98d674f637d092807cfc12253.
This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.
It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).
A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.
[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
| Winter | 2025-04-08 | 1 | -1/+1 |
| * | treewide: replace `rev` with `tag` | Pol Dellaiera | 2025-04-07 | 1 | -1/+1 |
| * | 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`.
| Maximilian Bosch | 2025-01-27 | 1 | -1/+2 |
| * | treewide: kernel.makeFlags -> kernel.moduleMakeFlags | K900 | 2025-01-23 | 1 | -1/+1 |
| * | linuxPackages.nullfs: init at 0.17 | Callum Leslie | 2024-09-05 | 1 | -0/+47 |