mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
32 lines
881 B
Nix
32 lines
881 B
Nix
{ callPackage
|
|
, kernel ? null
|
|
, stdenv
|
|
, nixosTests
|
|
, fetchpatch
|
|
, ...
|
|
} @ 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_unstable";
|
|
# check the release notes for compatible kernels
|
|
kernelCompatible = kernel: kernel.kernelOlder "6.12";
|
|
|
|
# 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.3.0-rc2";
|
|
# rev = "";
|
|
|
|
tests = {
|
|
inherit (nixosTests.zfs) unstable;
|
|
};
|
|
|
|
hash = "sha256-/INlfiPpRm5JprcORzJJKyjpGIMY1LceY3yZ811uf2A=";
|
|
}
|