Skip to content

Commit

Permalink
matrix-synapse: fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and SuperSandro2000 committed Jan 7, 2025
1 parent bbc0da1 commit 01b66f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/servers/matrix-synapse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
rustc,
nixosTests,
callPackage,
fetchpatch2,
}:

let
Expand All @@ -34,6 +35,15 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-LGFuz3NtNqH+XumJOirvflH0fyfTtqz5qgYlJx2fmAU=";
};

patches = [
# Fixes test compat with twisted 24.11.0.
# Can be removed in next release.
(fetchpatch2 {
url = "https://github.com/element-hq/synapse/commit/3eb92369ca14012a07da2fbf9250e66f66afb710.patch";
sha256 = "sha256-VDn3kQy23+QC2WKhWfe0FrUOnLuI1YwH5GxdTTVWt+A=";
})
];

postPatch = ''
# Remove setuptools_rust from runtime dependencies
# https://github.com/element-hq/synapse/blob/v1.69.0/pyproject.toml#L177-L185
Expand Down

0 comments on commit 01b66f0

Please sign in to comment.