nixpkgs/pkgs/os-specific/linux/zfs/2_2.nix
Andrew Marshall a1dcb54257 zfs_2_2: 2.2.3 -> 2.2.4
Now compatible with Linux 6.8.

https://github.com/openzfs/zfs/releases/tag/zfs-2.2.4

Need to patch py-libzfs to support incompatible API change.
2024-05-03 07:44:36 -04:00

31 lines
728 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_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
];
hash = "sha256-SSp/1Tu1iGx5UDcG4j0k2fnYxK05cdE8gzfSn8DU5Z4=";
}