From 5a71c7cdef40248a52ff95350e4853095d2fd9eb Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Wed, 13 May 2026 22:25:37 +0000 Subject: [PATCH] zfs_2_3: 2.3.6 -> 2.3.7 The patch already applied on zfs_2_4 also needs to be applied here. --- pkgs/os-specific/linux/zfs/2_3.nix | 6 +++--- pkgs/os-specific/linux/zfs/generic.nix | 11 ++++------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/os-specific/linux/zfs/2_3.nix b/pkgs/os-specific/linux/zfs/2_3.nix index b28159b0c1ac..bf6701cc0ff8 100644 --- a/pkgs/os-specific/linux/zfs/2_3.nix +++ b/pkgs/os-specific/linux/zfs/2_3.nix @@ -13,10 +13,10 @@ callPackage ./generic.nix args { kernelModuleAttribute = "zfs_2_3"; kernelMinSupportedMajorMinor = "4.18"; - kernelMaxSupportedMajorMinor = "6.19"; + kernelMaxSupportedMajorMinor = "7.0"; # this package should point to the latest release. - version = "2.3.6"; + version = "2.3.7"; tests = { inherit (nixosTests.zfs) series_2_3; @@ -30,5 +30,5 @@ callPackage ./generic.nix args { amarshall ]; - hash = "sha256-5p9UbOQ0WY+XeAO+btDyJ04nRnOQuEuwszduEV7cbso="; + hash = "sha256-67Yo5bAJP3dXC94xybrC4xhwz7pGtrp0MUT9P6OInog="; } diff --git a/pkgs/os-specific/linux/zfs/generic.nix b/pkgs/os-specific/linux/zfs/generic.nix index f1ee2eb7d6fe..1dc98829da38 100644 --- a/pkgs/os-specific/linux/zfs/generic.nix +++ b/pkgs/os-specific/linux/zfs/generic.nix @@ -102,13 +102,10 @@ let patches = extraPatches - ++ - lib.optional - (kernel != null && lib.versionAtLeast version "2.4" && lib.versionOlder kernel.version "5.14") - (fetchpatch2 { - url = "https://github.com/openzfs/zfs/commit/58c8dc5f6926eb96903a3f38b141e8998ef9261b.patch?full_index=1"; - hash = "sha256-eYkMhHsHBA9MKXnB/GuHpuv44g1SCGV5Or0InPBeNkU="; - }); + ++ lib.optional (kernel != null && lib.versionOlder kernel.version "5.14") (fetchpatch2 { + url = "https://github.com/openzfs/zfs/commit/58c8dc5f6926eb96903a3f38b141e8998ef9261b.patch?full_index=1"; + hash = "sha256-eYkMhHsHBA9MKXnB/GuHpuv44g1SCGV5Or0InPBeNkU="; + }); postPatch = optionalString buildKernel ''