21 lines
623 B
Nix
21 lines
623 B
Nix
|
{ 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;
|
||
|
});
|
||
|
}
|