From 8ba428b0476684c4bafa1dfd634436c9a3c2006b Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Tue, 14 May 2024 02:39:14 +0000 Subject: [PATCH] base: use patch nheko for custom reacts --- sets/base.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sets/base.nix b/sets/base.nix index e7f9ad1..1cc19fb 100644 --- a/sets/base.nix +++ b/sets/base.nix @@ -35,6 +35,24 @@ overlays = [ inputs.artemist.overlays.default inputs.fonts.overlays.default + (final: prev: { + nheko = prev.nheko.overrideAttrs (attrs: { + patches = + attrs.patches + ++ (with final; [ + (fetchpatch { + name = "custom-reactions-display.patch"; + url = "https://github.com/Nheko-Reborn/nheko/commit/2f1b3519d38c99ded45c1a9d9e86f5d4dd961238.patch"; + hash = "sha256-1/7jisXw+VfC65SeDC15yVuHqx01OJlJkOVGeIiLeN4="; + }) + (fetchpatch { + name = "custom-reactions-history.patch"; + url = "https://github.com/Nheko-Reborn/nheko/commit/1994ea634eab69478cfdf1da37cbb9de62dbe595.patch"; + hash = "sha256-P3nG9s4TWBwcEmEJlTpFsM4QQbRYNGmcRC4zZW8Zj4Y="; + }) + ]); + }); + }) ]; config.allowUnfreePredicate = pkg: