diff --git a/packages/overlays/matrix-synapse/patches/0009-Fix-nix-flake.patch b/packages/overlays/matrix-synapse/patches/0010-Fix-nix-flake.patch
index 09a7f5c..4df6090 100644
--- a/packages/overlays/matrix-synapse/patches/0009-Fix-nix-flake.patch
+++ b/packages/overlays/matrix-synapse/patches/0010-Fix-nix-flake.patch
@@ -1,7 +1,7 @@
-From 69d854a8250493f9c1e468f24031378ff334cf7f Mon Sep 17 00:00:00 2001
+From 448de6ea7bfe1c6073726f517988e5deeb510861 Mon Sep 17 00:00:00 2001
From: Rory& <root@rory.gay>
Date: Mon, 9 Jun 2025 17:38:34 +0200
-Subject: [PATCH 09/10] Fix nix flake
+Subject: [PATCH 10/11] Fix nix flake
---
flake.lock | 58 +++++++++++++++++++-----------------------------------
@@ -143,7 +143,7 @@ index a6a2aea328..4e2f01153b 100644
},
"root": "root",
diff --git a/flake.nix b/flake.nix
-index 749c10da1d..e33b233ece 100644
+index 4ff6518aed..76b3c1a4b0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -82,7 +82,7 @@
@@ -155,7 +155,7 @@ index 749c10da1d..e33b233ece 100644
# Additionally install the "rust-src" extension to allow diving into the
# Rust source code in an IDE (rust-analyzer will also make use of it).
extensions = [ "rust-src" ];
-@@ -118,6 +118,8 @@
+@@ -117,6 +117,8 @@
# For releasing Synapse
debian-devscripts # (`dch` for manipulating the Debian changelog)
libnotify # (the release script uses `notify-send` to tell you when CI jobs are done)
@@ -164,7 +164,7 @@ index 749c10da1d..e33b233ece 100644
];
# Install Python and manage a virtualenv with Poetry.
-@@ -140,6 +142,9 @@
+@@ -139,6 +141,9 @@
# force compiling those binaries locally instead.
env.POETRY_INSTALLER_NO_BINARY = "ruff";
@@ -174,7 +174,7 @@ index 749c10da1d..e33b233ece 100644
# Install dependencies for the additional programming languages
# involved with Synapse development.
#
-@@ -160,6 +165,9 @@
+@@ -159,6 +164,9 @@
services.postgres.initialDatabases = [
{ name = "synapse"; }
];
|