summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rw-r--r--overlays/zfs.nix21
1 files changed, 0 insertions, 21 deletions
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 @@
1final: prev:
2let
3 overrides = {
4 "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY=" = { self }: {
5 broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16");
6 latestCompatibleLinuxPackages = final.linuxPackages_5_15;
7 };
8 };
9in {
10 linuxKernel = prev.linuxKernel // {
11 packagesFor = kernel_: (prev.linuxKernel.packagesFor kernel_).extend (self: super: rec {
12 zfsUnstable = super.zfsUnstable.overrideAttrs (oldAttrs: {
13 meta = oldAttrs.meta // (overrides.${oldAttrs.src.outputHash} or (_: {})) { inherit self; };
14 });
15 zfsStable = super.zfsUnstable.overrideAttrs (oldAttrs: {
16 meta = oldAttrs.meta // (overrides.${oldAttrs.src.outputHash} or (_: {})) { inherit self; };
17 });
18 zfs = zfsStable;
19 });
20 };
21}