c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
30 lines
720 B
Nix
30 lines
720 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";
|
|
# check the release notes for compatible kernels
|
|
kernelCompatible = kernel.kernelOlder "6.8";
|
|
|
|
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_7;
|
|
|
|
# this package should point to the latest release.
|
|
version = "2.2.3";
|
|
|
|
tests = [
|
|
nixosTests.zfs.installer
|
|
nixosTests.zfs.stable
|
|
];
|
|
|
|
hash = "sha256-Bzkow15OitUUQ+mTYhCXgTrQl+ao/B4feleHY/rSSjg=";
|
|
}
|