5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
30 lines
728 B
Nix
30 lines
728 B
Nix
{ callPackage
|
|
, kernel ? null
|
|
, stdenv
|
|
, linuxKernel
|
|
, 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_2";
|
|
# check the release notes for compatible kernels
|
|
kernelCompatible = kernel.kernelOlder "6.9";
|
|
|
|
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_8;
|
|
|
|
# this package should point to the latest release.
|
|
version = "2.2.4";
|
|
|
|
tests = [
|
|
nixosTests.zfs.installer
|
|
nixosTests.zfs.series_2_2
|
|
];
|
|
|
|
hash = "sha256-SSp/1Tu1iGx5UDcG4j0k2fnYxK05cdE8gzfSn8DU5Z4=";
|
|
}
|