dotfiles/nixng/containers/matrix/synapse/synapse-package.nix

22 lines
561 B
Nix
Raw Normal View History

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" ];
})
];
});
})