From e056884069b462e3674aced35f42108d1ff1f49f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Dec 2021 15:19:49 +0100 Subject: bump --- overlays/zfs.nix | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 overlays/zfs.nix (limited to 'overlays/zfs.nix') diff --git a/overlays/zfs.nix b/overlays/zfs.nix deleted file mode 100644 index 7291e2e4..00000000 --- a/overlays/zfs.nix +++ /dev/null @@ -1,21 +0,0 @@ -final: prev: -let - overrides = { - "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY=" = { self }: { - broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); - latestCompatibleLinuxPackages = final.linuxPackages_5_15; - }; - }; -in { - linuxKernel = prev.linuxKernel // { - packagesFor = kernel_: (prev.linuxKernel.packagesFor kernel_).extend (self: super: rec { - zfsUnstable = super.zfsUnstable.overrideAttrs (oldAttrs: { - meta = oldAttrs.meta // (overrides.${oldAttrs.src.outputHash} or (_: {})) { inherit self; }; - }); - zfsStable = super.zfsUnstable.overrideAttrs (oldAttrs: { - meta = oldAttrs.meta // (overrides.${oldAttrs.src.outputHash} or (_: {})) { inherit self; }; - }); - zfs = zfsStable; - }); - }; -} -- cgit v1.2.3