diff options
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/zfs.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/overlays/zfs.nix b/overlays/zfs.nix new file mode 100644 index 00000000..b8b99f8e --- /dev/null +++ b/overlays/zfs.nix | |||
@@ -0,0 +1,11 @@ | |||
1 | final: prev: { | ||
2 | linuxPackages_5_15 = prev.linuxPackages_latest.extend (self: super: { | ||
3 | zfsUnstable = prev.zfsUnstable.overrideAttrs (oldAttrs: { | ||
4 | meta = oldAttrs.meta // (assert (oldAttrs.src.outputHash == "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY="); rec { | ||
5 | broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); | ||
6 | # latestCompatibleLinuxPackages = final.linuxPackages_5_15; | ||
7 | }); | ||
8 | }); | ||
9 | }); | ||
10 | linuxPackages_latest = final.linuxPackages_5_15; | ||
11 | } | ||