Skip to content

Commit 17ca32a

Browse files
committed
synapse: patch: fix push for m.read events
matrix-org/synapse#12721
1 parent 342b455 commit 17ca32a

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

modules/services/matrix/synapse/default.nix

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,24 @@ let
55
cfg = config.services.matrix-synapse-custom;
66

77
# Custom package that tracks with the latest release of Synapse.
8-
package = pkgs.matrix-synapse.overridePythonAttrs (
9-
old: rec {
10-
pname = "matrix-synapse";
11-
version = "1.58.0";
12-
13-
src = pkgs.python3Packages.fetchPypi {
14-
inherit pname version;
15-
sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/QysPNCdk7yptrkctnLfDA=";
16-
};
8+
package = pkgs.matrix-synapse.overridePythonAttrs (old: rec {
9+
pname = "matrix-synapse";
10+
version = "1.58.0";
11+
12+
src = pkgs.python3Packages.fetchPypi {
13+
inherit pname version;
14+
sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/QysPNCdk7yptrkctnLfDA=";
15+
};
16+
17+
patches = (old.patches or [ ]) ++ [
18+
(pkgs.fetchpatch {
19+
src = "https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/12721.patch";
20+
sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/AAAAAAAA7yptrkctnLfDA=";
21+
})
22+
];
1723

18-
doCheck = false;
19-
}
20-
);
24+
doCheck = false;
25+
});
2126

2227
packageWithModules = package.python.withPackages (ps: [
2328
(package.python.pkgs.toPythonModule package)

pkgs/heisenbridge.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, fetchFromGitHub, fetchpatch, python3 }:
1+
{ lib, fetchFromGitHub, python3 }:
22
python3.pkgs.buildPythonApplication rec {
33
pname = "heisenbridge";
44
version = "1.10.1";

0 commit comments

Comments
 (0)