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

21 lines
553 B
Nix
Raw Permalink Normal View History

2024-05-11 22:55:59 +02:00
{ prev, ... }:
2024-05-09 10:54:00 +02:00
{
matrix-appservice-discord = prev.matrix-appservice-discord.overrideAttrs (old: {
2024-05-09 20:36:33 +02:00
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;
});
2024-05-09 10:54:00 +02:00
}