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