2023-05-24 13:37:59 +00:00
|
|
|
{ callPackage
|
|
|
|
, kernel ? null
|
|
|
|
, stdenv
|
|
|
|
, linuxKernel
|
2024-01-02 11:29:13 +00:00
|
|
|
, nixosTests
|
2023-05-24 13:37:59 +00:00
|
|
|
, ...
|
|
|
|
} @ args:
|
|
|
|
|
|
|
|
let
|
|
|
|
stdenv' = if kernel == null then stdenv else kernel.stdenv;
|
|
|
|
in
|
|
|
|
callPackage ./generic.nix args {
|
2024-01-02 11:29:13 +00:00
|
|
|
# You have to ensure that in `pkgs/top-level/linux-kernels.nix`
|
|
|
|
# this attribute is the correct one for this package.
|
2024-04-21 15:54:59 +00:00
|
|
|
kernelModuleAttribute = "zfs_2_2";
|
2023-05-24 13:37:59 +00:00
|
|
|
# check the release notes for compatible kernels
|
2024-05-15 15:35:15 +00:00
|
|
|
kernelCompatible = kernel.kernelOlder "6.9";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_8;
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
# this package should point to the latest release.
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.2.4";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
tests = [
|
|
|
|
nixosTests.zfs.installer
|
2024-04-21 15:54:59 +00:00
|
|
|
nixosTests.zfs.series_2_2
|
2024-01-02 11:29:13 +00:00
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-SSp/1Tu1iGx5UDcG4j0k2fnYxK05cdE8gzfSn8DU5Z4=";
|
2023-05-24 13:37:59 +00:00
|
|
|
}
|