mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
Bump synapse due to CVE
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
f2d9ffa664
commit
3408bd1d51
|
@ -1,9 +1,41 @@
|
|||
pkgs: (pkgs.matrix-synapse.override {
|
||||
extras = [
|
||||
"redis"
|
||||
"cache-memory"
|
||||
"postgres"
|
||||
"url-preview"
|
||||
"user-search"
|
||||
];
|
||||
})
|
||||
pkgs: let
|
||||
inherit
|
||||
(pkgs)
|
||||
fetchFromGitHub
|
||||
rustPlatform
|
||||
lib
|
||||
;
|
||||
inherit
|
||||
(lib.strings)
|
||||
versionOlder
|
||||
;
|
||||
inherit
|
||||
(lib)
|
||||
fix
|
||||
;
|
||||
in
|
||||
pkgs.matrix-synapse.override {
|
||||
extras = [
|
||||
"redis"
|
||||
"cache-memory"
|
||||
"postgres"
|
||||
"url-preview"
|
||||
"user-search"
|
||||
];
|
||||
|
||||
matrix-synapse-unwrapped = fix (self:
|
||||
pkgs.matrix-synapse-unwrapped.overridePythonAttrs (old: {
|
||||
version = assert versionOlder old.version "1.105.1"; "1.105.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "element-hq";
|
||||
repo = "synapse";
|
||||
rev = "v${self.version}";
|
||||
hash = "sha256-sul9wz9NXz87ZIbvSHWYQabTW/PlwAJJ2keaO0NbHHU=";
|
||||
};
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (self) src;
|
||||
name = "${self.pname}-${self.version}";
|
||||
hash = "sha256-Cp1Bnf96invtmYayGfBVGwxW2jk/nRVCzueubd9HIG4=";
|
||||
};
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue