diff --git a/nixng/containers/matrix/synapse/synapse-package.nix b/nixng/containers/matrix/synapse/synapse-package.nix index 945f32b..5e04f1f 100644 --- a/nixng/containers/matrix/synapse/synapse-package.nix +++ b/nixng/containers/matrix/synapse/synapse-package.nix @@ -1,5 +1,5 @@ pkgs: -pkgs.matrix-synapse.override { +(pkgs.matrix-synapse.override { extras = [ "redis" "cache-memory" @@ -7,4 +7,13 @@ pkgs.matrix-synapse.override { "url-preview" "user-search" ]; -} + matrix-synapse-unwrapped = + pkgs.matrix-synapse-unwrapped.overridePythonAttrs (old: { + patches = (old.patches or []) ++ [ + (pkgs.fetchurl { + url = "https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/16504.patch"; + hash = "sha256-hjUOmsl06gVPewRdg/DyO9E5bSkIRNBAFJIrWqUsT6Y="; + }) + ]; + }); +})