From 7e358a11070760a8a8d371e804277f3c25c65646 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 13 Dec 2021 09:55:09 +0100 Subject: bump --- overlays/zfs.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'overlays') diff --git a/overlays/zfs.nix b/overlays/zfs.nix index aef1287e..1da10050 100644 --- a/overlays/zfs.nix +++ b/overlays/zfs.nix @@ -1,11 +1,13 @@ final: prev: { - linuxPackages_5_15 = prev.linuxPackages_latest.extend (self: super: { - zfsUnstable = prev.zfsUnstable.overrideAttrs (oldAttrs: { - meta = oldAttrs.meta // (assert (oldAttrs.src.outputHash == "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY="); rec { - broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); - # latestCompatibleLinuxPackages = final.linuxPackages_5_15; + linuxKernel = prev.linuxKernel // { + packagesFor = kernel_: (prev.linuxKernel.packagesFor kernel_).extend (self: super: { + zfsUnstable = super.zfsUnstable.overrideAttrs (oldAttrs: { + meta = oldAttrs.meta // (assert (oldAttrs.src.outputHash == "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY="); rec { + broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); + latestCompatibleLinuxPackages = final.linuxPackages_5_15; + }); }); }); - }); + }; # linuxPackages_latest = final.linuxPackages_5_15; } -- cgit v1.2.3