diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-22 15:19:49 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-22 15:19:49 +0100 |
commit | e056884069b462e3674aced35f42108d1ff1f49f (patch) | |
tree | e5cd2e3d6374f121de8d761809b18d59d56b173a /overlays | |
parent | d186ac4e074c046c39d51b899a643eb44268e8e2 (diff) | |
download | nixos-e056884069b462e3674aced35f42108d1ff1f49f.tar nixos-e056884069b462e3674aced35f42108d1ff1f49f.tar.gz nixos-e056884069b462e3674aced35f42108d1ff1f49f.tar.bz2 nixos-e056884069b462e3674aced35f42108d1ff1f49f.tar.xz nixos-e056884069b462e3674aced35f42108d1ff1f49f.zip |
bump
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/zfs.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/overlays/zfs.nix b/overlays/zfs.nix deleted file mode 100644 index 7291e2e4..00000000 --- a/overlays/zfs.nix +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | final: prev: | ||
2 | let | ||
3 | overrides = { | ||
4 | "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY=" = { self }: { | ||
5 | broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); | ||
6 | latestCompatibleLinuxPackages = final.linuxPackages_5_15; | ||
7 | }; | ||
8 | }; | ||
9 | in { | ||
10 | linuxKernel = prev.linuxKernel // { | ||
11 | packagesFor = kernel_: (prev.linuxKernel.packagesFor kernel_).extend (self: super: rec { | ||
12 | zfsUnstable = super.zfsUnstable.overrideAttrs (oldAttrs: { | ||
13 | meta = oldAttrs.meta // (overrides.${oldAttrs.src.outputHash} or (_: {})) { inherit self; }; | ||
14 | }); | ||
15 | zfsStable = super.zfsUnstable.overrideAttrs (oldAttrs: { | ||
16 | meta = oldAttrs.meta // (overrides.${oldAttrs.src.outputHash} or (_: {})) { inherit self; }; | ||
17 | }); | ||
18 | zfs = zfsStable; | ||
19 | }); | ||
20 | }; | ||
21 | } | ||