dotfiles/nixng/containers/matrix/synapse/synapse-package.nix
magic_rb 8f052ce05f
Maybe now it'll build properly?
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-23 22:56:47 +02:00

21 lines
563 B
Nix

pkgs:
(pkgs.matrix-synapse.override {
extras = [
"redis"
"cache-memory"
"postgres"
"url-preview"
"user-search"
];
matrix-synapse-unwrapped =
pkgs.matrix-synapse-unwrapped.overridePythonAttrs (old: {
patches = (old.patches or []) ++ [
((pkgs.fetchurl {
url = "https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/16504.patch";
hash = "sha256-hjUOmsl06gVPewRdg/DyO9E5bSkIRNBAFJIrWqUsT6Y=";
}) // {
requiredSystemFeatures = [ "local" ];
})
];
});
})