matrix-synapse: apply patch fixing build with libxml >= 2.14
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
python3,
|
||||
openssl,
|
||||
libiconv,
|
||||
@@ -27,6 +28,15 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-nXDVkuV5GCk0Lp4LfyiModKdO30PJ40B5mXdm5tMHQo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Skip broken HTML preview test case with libxml >= 2.14
|
||||
# https://github.com/element-hq/synapse/pull/18413
|
||||
(fetchpatch {
|
||||
url = "https://github.com/element-hq/synapse/commit/8aad32965888476b4660bf8228d2d2aa9ccc848b.patch";
|
||||
hash = "sha256-EUEbF442nOAybMI8EL6Ee0ib3JqSlQQ04f5Az3quKko=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-9VJnn8aPkShqK2wYGFr+S5koIjma7VOr+LkLXwStL1E=";
|
||||
|
||||
Reference in New Issue
Block a user