c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
34 lines
1,003 B
Nix
34 lines
1,003 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 = "zfsUnstable";
|
|
# check the release notes for compatible kernels
|
|
kernelCompatible = kernel.kernelOlder "6.9";
|
|
|
|
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_7;
|
|
|
|
# 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.
|
|
version = "2.2.3-unstable-2024-02-12";
|
|
rev = "4635453d9f06771678b2125d5b45852b4d2eb04f";
|
|
|
|
isUnstable = true;
|
|
tests = [
|
|
nixosTests.zfs.unstable
|
|
];
|
|
|
|
hash = "sha256-ch1/R61cn1BtWkkH2IViWjVp22XFz4/WbByquN+vybs=";
|
|
}
|