2023-10-07 19:55:39 +02:00
|
|
|
pkgs:
|
2023-10-16 18:28:31 +02:00
|
|
|
(pkgs.matrix-synapse.override {
|
2023-10-07 19:55:39 +02:00
|
|
|
extras = [
|
|
|
|
"redis"
|
|
|
|
"cache-memory"
|
|
|
|
"postgres"
|
|
|
|
"url-preview"
|
|
|
|
"user-search"
|
|
|
|
];
|
2023-10-16 18:28:31 +02:00
|
|
|
matrix-synapse-unwrapped =
|
|
|
|
pkgs.matrix-synapse-unwrapped.overridePythonAttrs (old: {
|
|
|
|
patches = (old.patches or []) ++ [
|
2023-10-23 22:56:47 +02:00
|
|
|
((pkgs.fetchurl {
|
2023-10-16 18:28:31 +02:00
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/16504.patch";
|
|
|
|
hash = "sha256-hjUOmsl06gVPewRdg/DyO9E5bSkIRNBAFJIrWqUsT6Y=";
|
2023-10-23 22:56:47 +02:00
|
|
|
}) // {
|
2023-10-23 22:45:56 +02:00
|
|
|
requiredSystemFeatures = [ "local" ];
|
2023-10-16 18:28:31 +02:00
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
})
|