From c7b774931d932bc698ecbd599ce6eff985d23227 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Mon, 16 Oct 2023 18:28:31 +0200 Subject: [PATCH] Apply proxy auth fix patch Signed-off-by: magic_rb --- nixng/containers/matrix/synapse/synapse-package.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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="; + }) + ]; + }); +})