mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
34 lines
802 B
Nix
34 lines
802 B
Nix
{ callPackage
|
|
, kernel ? null
|
|
, stdenv
|
|
, lib
|
|
, 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
|
|
];
|
|
|
|
maintainers = with lib.maintainers; [ adamcstephens amarshall ];
|
|
|
|
hash = "sha256-SSp/1Tu1iGx5UDcG4j0k2fnYxK05cdE8gzfSn8DU5Z4=";
|
|
}
|