grimm-nixos-laptop/overlays/matrix-appservice-discord.nix

21 lines
623 B
Nix
Raw Normal View History

2024-05-09 10:54:00 +02:00
{ final, prev, ... }:
{
matrix-appservice-discord = prev.matrix-appservice-discord.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "t2bot";
repo = "matrix-appservice-discord";
rev = "8361ca6121bf1f0902154baa538cb6d5766e477f";
hash = "sha256-oXon6pFJgqQ1uBLtsSVNH7XSOpxxJYqpW2n9cFrs3sU=";
};
patches =
(
let
oldPatches = old.patches or [ ];
in
if oldPatches == null then [ ] else oldPatches
)
++ [ ./patches/bridge_perms.patch ];
doCheck = false;
});
}