2023-11-23 15:15:18 +00:00
|
|
|
{ callPackage
|
|
|
|
, kernel ? null
|
|
|
|
, stdenv
|
|
|
|
, lib
|
|
|
|
, nixosTests
|
|
|
|
, ...
|
|
|
|
} @ args:
|
|
|
|
|
|
|
|
let
|
|
|
|
stdenv' = if kernel == null then stdenv else kernel.stdenv;
|
|
|
|
in
|
|
|
|
callPackage ./generic.nix args {
|
|
|
|
# You have to ensure that in `pkgs/top-level/linux-kernels.nix`
|
|
|
|
# this attribute is the correct one for this package.
|
|
|
|
kernelModuleAttribute = "zfs_2_1";
|
|
|
|
# check the release notes for compatible kernels
|
2024-08-14 16:54:16 +00:00
|
|
|
kernelCompatible = kernel: kernel.kernelOlder "6.8";
|
2023-11-23 15:15:18 +00:00
|
|
|
|
|
|
|
# This is a fixed version to the 2.1.x series, move only
|
|
|
|
# if the 2.1.x series moves.
|
2024-02-27 12:41:37 +00:00
|
|
|
version = "2.1.15";
|
2023-11-23 15:15:18 +00:00
|
|
|
|
2024-02-27 12:41:37 +00:00
|
|
|
hash = "sha256-zFO8fMbirEOrn5W57rAN7IWY6EIXG8jDXqhP7BWJyiY=";
|
2023-11-23 15:15:18 +00:00
|
|
|
|
2024-10-20 10:59:45 +00:00
|
|
|
tests = {
|
|
|
|
inherit (nixosTests.zfs) series_2_1;
|
|
|
|
};
|
2023-11-23 15:15:18 +00:00
|
|
|
|
|
|
|
maintainers = [ lib.maintainers.raitobezarius ];
|
|
|
|
}
|