From 6e13e52d724098807613eeefe733f870823d4362 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 13 Dec 2021 09:01:11 +0100 Subject: ... --- overlays/zfs.nix | 11 +++++++++++ user-profiles/yt-dlp.nix | 1 + 2 files changed, 12 insertions(+) create mode 100644 overlays/zfs.nix diff --git a/overlays/zfs.nix b/overlays/zfs.nix new file mode 100644 index 00000000..b8b99f8e --- /dev/null +++ b/overlays/zfs.nix @@ -0,0 +1,11 @@ +final: prev: { + linuxPackages_5_15 = prev.linuxPackages_latest.extend (self: super: { + zfsUnstable = prev.zfsUnstable.overrideAttrs (oldAttrs: { + meta = oldAttrs.meta // (assert (oldAttrs.src.outputHash == "sha256-UUuJa5w/GsEvsgH/BnXFsP/dsOt9wwmPqKzDxLPrhiY="); rec { + broken = !(self.kernel.kernelAtLeast "3.10" && self.kernel.kernelOlder "5.16"); + # latestCompatibleLinuxPackages = final.linuxPackages_5_15; + }); + }); + }); + linuxPackages_latest = final.linuxPackages_5_15; +} diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix index 288bba14..a7f1ce3b 100644 --- a/user-profiles/yt-dlp.nix +++ b/user-profiles/yt-dlp.nix @@ -13,6 +13,7 @@ --sub-langs all,-live_chat --prefer-free-formats --embed-metadata + --downloader ${pkgs.aria2}/bin/aria2c ''; }; } -- cgit v1.2.3