diff options
author | sefidel <contact@sefidel.net> | 2023-07-15 20:33:48 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-07-15 20:33:48 +0900 |
commit | 55151f5e353fd40287aba8eaaa51f732e17ca1f4 (patch) | |
tree | 78cf251136363e2b9a641560ba535310b398ce0c /pkgs/servers/dendrite | |
parent | c16abd6c722be95d53eef2bdd62cef5ecabd240a (diff) |
dendrite: fix db lockup
0.13.1 introduced a bug where a SQLite DB would lock up and crash
(see #243621)
Diffstat (limited to 'pkgs/servers/dendrite')
-rw-r--r-- | pkgs/servers/dendrite/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/servers/dendrite/default.nix b/pkgs/servers/dendrite/default.nix index 4faa08142cf5..935955e7bc44 100644 --- a/pkgs/servers/dendrite/default.nix +++ b/pkgs/servers/dendrite/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub +{ lib, buildGoModule, fetchFromGitHub, fetchpatch , nixosTests, postgresql, postgresqlTestHook }: buildGoModule rec { @@ -12,6 +12,14 @@ buildGoModule rec { hash = "sha256-2DqEfTXD3W6MxfBb6aHaKH+zpxLc2tHaGuWGQuncySo="; }; + patches = [ + # Fix SQLite db lockup + (fetchpatch { + url = "https://github.com/matrix-org/dendrite/commit/c08c7405dbe9d88c1364f6f1f2466db5045506cc.patch"; + hash = "sha256-gTF9jK5Ihfe1v49gPCK68BLeiUZa2Syo+7D9r62iEXQ="; + }) + ]; + vendorHash = "sha256-dc0zpKh7J+fi2b5GD/0BQ120UXbBvJLUF74RmYMSOMw="; subPackages = [ |