diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-12 13:34:18 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-12 13:34:18 +0100 |
commit | 9e6b5089c955d42489593fcfd52e81332a43ffae (patch) | |
tree | 20a292287f0da00e81b001336bb9e4c6ae304449 /overlays | |
parent | 3f270201c31369e4043bfba9d38609bbda74f5d9 (diff) | |
download | nixos-9e6b5089c955d42489593fcfd52e81332a43ffae.tar nixos-9e6b5089c955d42489593fcfd52e81332a43ffae.tar.gz nixos-9e6b5089c955d42489593fcfd52e81332a43ffae.tar.bz2 nixos-9e6b5089c955d42489593fcfd52e81332a43ffae.tar.xz nixos-9e6b5089c955d42489593fcfd52e81332a43ffae.zip |
zfs: ...
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/zfs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/overlays/zfs.nix b/overlays/zfs.nix index 843f6e95..58a3e579 100644 --- a/overlays/zfs.nix +++ b/overlays/zfs.nix | |||
@@ -1,9 +1,9 @@ | |||
1 | final: prev: { | 1 | final: prev: { |
2 | linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { | 2 | linuxPackages_5_15 = prev.linuxPackages_latest.extend (self: super: { |
3 | zfsUnstable = prev.zfsUnstable.overrideAttrs (oldAttrs: { | 3 | zfsUnstable = prev.zfsUnstable.overrideAttrs (oldAttrs: { |
4 | meta = oldAttrs.meta // (assert (oldAttrs.src.outputHash == "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY="); rec { | 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"); | 5 | broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); |
6 | latestCompatibleLinuxPackages = if !broken then self.kernel else oldAttrs.latestCompatibleLinuxPackages; | 6 | latestCompatibleLinuxPackages = final.linuxPackages_5_15; |
7 | }); | 7 | }); |
8 | }); | 8 | }); |
9 | }); | 9 | }); |