summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-13 09:55:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-13 09:55:09 +0100
commit7e358a11070760a8a8d371e804277f3c25c65646 (patch)
tree800f2a5edc9580ccc3d1b63092a2d74e51d8449c /overlays
parentee512aee32b7a7fb17a2b49733056733d45f42cf (diff)
downloadnixos-7e358a11070760a8a8d371e804277f3c25c65646.tar
nixos-7e358a11070760a8a8d371e804277f3c25c65646.tar.gz
nixos-7e358a11070760a8a8d371e804277f3c25c65646.tar.bz2
nixos-7e358a11070760a8a8d371e804277f3c25c65646.tar.xz
nixos-7e358a11070760a8a8d371e804277f3c25c65646.zip
bump
Diffstat (limited to 'overlays')
-rw-r--r--overlays/zfs.nix14
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 @@
1final: prev: { 1final: 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}