dotfiles/nixng/containers/matrix/synapse/synapse-package.nix
magic_rb e39e2ff7b8
Attempt to force local build of synapse patch?
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-23 22:45:56 +02:00

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