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.
|
|
|
|
kernelModuleAttribute = "zfs";
|
2023-05-24 13:37:59 +00:00
|
|
|
# check the release notes for compatible kernels
|
2024-02-29 20:09:43 +00:00
|
|
|
kernelCompatible = kernel.kernelOlder "6.8";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_7;
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
# this package should point to the latest release.
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "2.2.3";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
tests = [
|
|
|
|
nixosTests.zfs.installer
|
|
|
|
nixosTests.zfs.stable
|
|
|
|
];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-Bzkow15OitUUQ+mTYhCXgTrQl+ao/B4feleHY/rSSjg=";
|
2023-05-24 13:37:59 +00:00
|
|
|
}
|