summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-12 13:28:02 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-12 13:28:02 +0100
commit3f270201c31369e4043bfba9d38609bbda74f5d9 (patch)
tree6d2807ce8fcb21a45a5c178c2ae46ff4cf4c970b /overlays
parent89c41c1af604918c400f8000a686cde08efca2e3 (diff)
downloadnixos-3f270201c31369e4043bfba9d38609bbda74f5d9.tar
nixos-3f270201c31369e4043bfba9d38609bbda74f5d9.tar.gz
nixos-3f270201c31369e4043bfba9d38609bbda74f5d9.tar.bz2
nixos-3f270201c31369e4043bfba9d38609bbda74f5d9.tar.xz
nixos-3f270201c31369e4043bfba9d38609bbda74f5d9.zip
zfs: unmark broken
Diffstat (limited to 'overlays')
-rw-r--r--overlays/zfs.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/overlays/zfs.nix b/overlays/zfs.nix
new file mode 100644
index 00000000..843f6e95
--- /dev/null
+++ b/overlays/zfs.nix
@@ -0,0 +1,10 @@
1final: prev: {
2 linuxPackages_latest = 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 = if !broken then self.kernel else oldAttrs.latestCompatibleLinuxPackages;
7 });
8 });
9 });
10}