From 3f270201c31369e4043bfba9d38609bbda74f5d9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 12 Dec 2021 13:28:02 +0100 Subject: zfs: unmark broken --- overlays/zfs.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 overlays/zfs.nix diff --git a/overlays/zfs.nix b/overlays/zfs.nix new file mode 100644 index 00000000..843f6e95 --- /dev/null +++ b/overlays/zfs.nix @@ -0,0 +1,10 @@ +final: prev: { + linuxPackages_latest = 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; + }); + }); + }); +} -- cgit v1.2.3