summary refs log tree commit diff
path: root/packages/overlays/matrix-synapse/patches/0002-nix-use-postgres-17.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/overlays/matrix-synapse/patches/0002-nix-use-postgres-17.patch')
-rw-r--r--packages/overlays/matrix-synapse/patches/0002-nix-use-postgres-17.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/overlays/matrix-synapse/patches/0002-nix-use-postgres-17.patch b/packages/overlays/matrix-synapse/patches/0002-nix-use-postgres-17.patch
new file mode 100644

index 0000000..959b903 --- /dev/null +++ b/packages/overlays/matrix-synapse/patches/0002-nix-use-postgres-17.patch
@@ -0,0 +1,25 @@ +From e2b5f1ee0eac4b9c84e99fe9eb0d6a59103149a2 Mon Sep 17 00:00:00 2001 +From: Rory& <root@rory.gay> +Date: Fri, 25 Jul 2025 08:25:28 +0200 +Subject: [PATCH 02/19] nix: use postgres 17 + +Signed-off-by: Rory& <root@rory.gay> +--- + flake.nix | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/flake.nix b/flake.nix +index 4ff6518aed..51ae12c272 100644 +--- a/flake.nix ++++ b/flake.nix +@@ -152,6 +152,7 @@ + # Postgres is needed to run Synapse with postgres support and + # to run certain unit tests that require postgres. + services.postgres.enable = true; ++ services.postgres.package = pkgs.postgresql_17; + + # On the first invocation of `devenv up`, create a database for + # Synapse to store data in. +-- +2.53.0 +