mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 21:37:38 +00:00
dendrite: fix db lockup
0.13.1 introduced a bug where a SQLite DB would lock up and crash (see #243621)
This commit is contained in:
parent
c16abd6c72
commit
55151f5e35
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user