Skip to content

Commit

Permalink
synapse: patch: fix push for m.read events
Browse files Browse the repository at this point in the history
  • Loading branch information
sumnerevans committed May 16, 2022
1 parent 342b455 commit 17ca32a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
29 changes: 17 additions & 12 deletions modules/services/matrix/synapse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@ let
cfg = config.services.matrix-synapse-custom;

# Custom package that tracks with the latest release of Synapse.
package = pkgs.matrix-synapse.overridePythonAttrs (
old: rec {
pname = "matrix-synapse";
version = "1.58.0";

src = pkgs.python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/QysPNCdk7yptrkctnLfDA=";
};
package = pkgs.matrix-synapse.overridePythonAttrs (old: rec {
pname = "matrix-synapse";
version = "1.58.0";

src = pkgs.python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/QysPNCdk7yptrkctnLfDA=";
};

patches = (old.patches or [ ]) ++ [
(pkgs.fetchpatch {
src = "https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/12721.patch";
sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/AAAAAAAA7yptrkctnLfDA=";
})
];

doCheck = false;
}
);
doCheck = false;
});

packageWithModules = package.python.withPackages (ps: [
(package.python.pkgs.toPythonModule package)
Expand Down
2 changes: 1 addition & 1 deletion pkgs/heisenbridge.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fetchpatch, python3 }:
{ lib, fetchFromGitHub, python3 }:
python3.pkgs.buildPythonApplication rec {
pname = "heisenbridge";
version = "1.10.1";
Expand Down

0 comments on commit 17ca32a

Please sign in to comment.