Commit Graph

37 Commits

Author SHA1 Message Date
Maximilian Bosch
b472759c35 linuxPackages.apfs: 0.3.18 -> 0.3.20
ZHF #516381
Failing Hydra build: https://hydra.nixos.org/build/328802146

Changes: https://github.com/linux-apfs/linux-apfs-rw/compare/v0.3.18...v0.3.20
2026-05-16 14:44:58 +02:00
Luna Simons
8a268ad44d linuxPackages.apfs: 0.3.16 -> 0.3.18 2026-03-31 10:16:39 +02:00
eljamm
fae74c8dd5 linuxPackages.apfs: 0.3.15 -> 0.3.16 2025-11-05 00:01:14 +01:00
Luflosi
75d898fed2 linuxPackages.apfs: 0.3.14 -> 0.3.15
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.15
2025-09-21 14:50:08 +02:00
Luflosi
759f74ae9c linuxPackages.apfs: add passthru.updateScript
Add a custom update script because normal update scripts can't handle the special version, which includes the kernel version.
The simple solution of not including the kernel version in the package version was not accepted for some reason.
2025-09-21 14:50:07 +02:00
Luflosi
8a41df3935 linuxPackages.apfs: 0.3.13 -> 0.3.14
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.14
2025-05-26 17:35:44 +02:00
Luflosi
85af0c770b linuxPackages.apfs: 0.3.12 -> 0.3.13
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.13
2025-05-07 13:32:10 +02: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
Luflosi
9c92ae59f1 linuxPackages.apfs: 0.3.11 -> 0.3.12
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.12
2024-11-04 12:40:49 +01:00
Luflosi
82cda379bb linuxPackages.apfs: 0.3.10 -> 0.3.11
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.11
2024-09-17 14:32:44 +02:00
Luflosi
d7f5448944 linuxPackages.apfs: 0.3.9 -> 0.3.10
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.10
2024-07-15 22:44:49 +02:00
Luflosi
21bd69a51e linuxPackages.apfs: 0.3.8 -> 0.3.9
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.9
2024-05-08 14:38:51 +02:00
Luflosi
3e076a0b54 linuxPackages.apfs: 0.3.7 -> 0.3.8
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.8
2024-03-11 19:17:07 +01:00
Luflosi
2167a49301 linuxPackages.apfs: 0.3.6 -> 0.3.7
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.7
2024-01-20 10:21:58 +01:00
Luflosi
9c70148416 linuxPackages.apfs: 0.3.5 -> 0.3.6
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.6
2024-01-10 00:51:41 +01:00
Luflosi
53def8b8d1 linuxPackages.apfs: 0.3.4 -> 0.3.5
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.5
2023-10-30 22:43:53 +01:00
Luflosi
c873b59121 linuxPackages.apfs: 0.3.3 -> 0.3.4
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.4
2023-08-16 13:51:36 +02:00
Sandro
7e38f9e981 Merge pull request #236104 from Luflosi/apfs-test-module-based-runner
nixos/tests/apfs: clean up code
2023-06-21 19:19:36 +02:00
Alyssa Ross
a80629ec9d linuxPackages.apfs: drop obsolete kernel reference 2023-06-13 19:46:48 +00:00
Luflosi
7573c269a8 nixos/tests/apfs: clean up code
- Use `runTest` instead of `handleTest`, which simplifies the code a little
- Use `lib.maintainers` instead of `pkgs.lib.maintainers`
- Remove unused function argument `pkgs`
- Change test name in the kernel module from `test` to `apfs`, since that seems to be a common pattern for the name
2023-06-05 16:39:09 +02:00
Luflosi
1622dd9ce4 linuxPackages.apfs: 0.3.2 -> 0.3.3
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.3
2023-05-26 12:58:59 +02:00
Luflosi
5405dcffdf linuxPackages.apfs: 0.3.1 -> 0.3.2
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.2
2023-05-26 12:41:54 +02:00
Luflosi
0030956979 linuxPackages.apfs: 0.3.0 -> 0.3.1
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.1
2023-04-03 16:16:45 +02:00
Luflosi
eaf43be84c linuxPackages.apfs: unstable-2022-10-20 -> 0.3.0
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.0

I also added a `longDescription` and modified the test to verify the checksum on all metadata nodes now that it works.
2023-01-31 17:35:05 +01:00
Luflosi
732b59e370 linuxPackages.apfs: unstable-2022-08-15 -> unstable-2022-10-20
This fixes a compatibility issue with Linux 6.0: e2ca36a76d.
2022-12-05 15:21:51 +01:00
Luflosi
be874693ce linuxPackages.apfs: add passthru.tests
This allows executing the test with `nix-build -A linuxPackages.apfs.tests`.
2022-12-05 15:21:25 +01:00
Luflosi
f9b83ece2b linuxPackages.apfs: unstable-2022-07-24 -> unstable-2022-08-15
This fixes a compatibility issue with Linux 5.19: https://github.com/linux-apfs/linux-apfs-rw/issues/29.
2022-08-27 17:51:20 +02:00
Winter
e686431c29 Merge pull request #183369 from Luflosi/update/apfs 2022-08-04 16:59:30 -04:00
Alyssa Ross
6aad09eb5f linuxPackages.apfs: mark broken on 5.19 2022-08-02 07:11:04 +00:00
Luflosi
d49fc40e4a linuxPackages.apfs: unstable-2022-02-03 -> unstable-2022-07-24 2022-07-28 17:27:52 +02:00
Alyssa Ross
7b5bd9f719 linuxPackages.apfs: add patch for Linux 5.18 2022-05-23 12:41:48 +00:00
Luflosi
12c54cfaf0 apfs: unstable-2021-09-21 -> unstable-2022-02-03 2022-04-05 18:43:43 +02:00
Nick Cao
07b06a7274 apfs: prepend kernel.makeFlags to makeFlags 2022-03-07 12:23:43 +08:00
Luflosi
5ca61036e6 apfs: unstable-2021-06-25 -> unstable-2021-09-21 2021-09-25 20:24:23 +02:00
Luflosi
fd1c9b5213 apfs: init at unstable-2021-06-25 2021-06-26 11:52:33 +02:00