From 9e6b5089c955d42489593fcfd52e81332a43ffae Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 12 Dec 2021 13:34:18 +0100 Subject: zfs: ... --- overlays/zfs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'overlays/zfs.nix') diff --git a/overlays/zfs.nix b/overlays/zfs.nix index 843f6e95..58a3e579 100644 --- a/overlays/zfs.nix +++ b/overlays/zfs.nix @@ -1,9 +1,9 @@ final: prev: { - linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { + 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 = if !broken then self.kernel else oldAttrs.latestCompatibleLinuxPackages; + latestCompatibleLinuxPackages = final.linuxPackages_5_15; }); }); }); -- cgit v1.2.3