2023-05-24 13:37:59 +00:00
|
|
|
{ callPackage
|
|
|
|
, kernel ? null
|
|
|
|
, stdenv
|
|
|
|
, linuxKernel
|
2023-07-15 17:15:38 +00:00
|
|
|
, removeLinuxDRM ? false
|
2023-05-24 13:37:59 +00:00
|
|
|
, ...
|
|
|
|
} @ args:
|
|
|
|
|
|
|
|
let
|
|
|
|
stdenv' = if kernel == null then stdenv else kernel.stdenv;
|
|
|
|
in
|
|
|
|
callPackage ./generic.nix args {
|
|
|
|
# check the release notes for compatible kernels
|
2023-07-15 17:15:38 +00:00
|
|
|
kernelCompatible = if stdenv'.isx86_64 || removeLinuxDRM
|
2023-08-22 20:05:09 +00:00
|
|
|
then kernel.kernelOlder "6.5"
|
2023-05-24 13:37:59 +00:00
|
|
|
else kernel.kernelOlder "6.2";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_1;
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
# this package should point to a version / git revision compatible with the latest kernel release
|
|
|
|
# IMPORTANT: Always use a tagged release candidate or commits from the
|
|
|
|
# zfs-<version>-staging branch, because this is tested by the OpenZFS
|
|
|
|
# maintainers.
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.2.0-rc4";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-zTG6iujlWB2H8j6i+t59zdyztoDFk373AjgHzC8x5mQ=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
isUnstable = true;
|
|
|
|
}
|