forked from CCCHH/nix-infra
bump Matrix Synapse to version 1.135.2
This commit is contained in:
parent
c7ae6a7ee3
commit
0c0457793f
1 changed files with 17 additions and 0 deletions
17
flake.nix
17
flake.nix
|
@ -41,6 +41,22 @@
|
||||||
prometheus-exporter = ./config/extra/prometheus-exporter.nix;
|
prometheus-exporter = ./config/extra/prometheus-exporter.nix;
|
||||||
};
|
};
|
||||||
overlays = {
|
overlays = {
|
||||||
|
matrixSynapseFix = final: prev: {
|
||||||
|
matrix-synapse-unwrapped = prev.matrix-synapse-unwrapped.overrideAttrs (finalAttrs: prevAttrs: rec {
|
||||||
|
version = "1.135.2";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "element-hq";
|
||||||
|
repo = "synapse";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-4HAA9Xq4C3DHxz0BgqBitfM4wZwPSEu+IO/OPfHzLVw=";
|
||||||
|
};
|
||||||
|
cargoDeps = final.rustPlatform.fetchCargoVendor {
|
||||||
|
inherit src;
|
||||||
|
hash = "sha256-4J92s6cSgsEIYQpbU6OOLI/USIJX2Gc7UdEHgWQgmXc=";
|
||||||
|
};
|
||||||
|
patches = [];
|
||||||
|
});
|
||||||
|
};
|
||||||
librespotFixOverlay = final: prev: {
|
librespotFixOverlay = final: prev: {
|
||||||
librespot = (prev.librespot.override { withAvahi = true; }).overrideAttrs (finalAttrs: prevAttr: rec {
|
librespot = (prev.librespot.override { withAvahi = true; }).overrideAttrs (finalAttrs: prevAttr: rec {
|
||||||
# Build dev branch.
|
# Build dev branch.
|
||||||
|
@ -109,6 +125,7 @@
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
self.nixosModules.prometheus-exporter
|
self.nixosModules.prometheus-exporter
|
||||||
./config/hosts/matrix
|
./config/hosts/matrix
|
||||||
|
{ nixpkgs.overlays = [ self.overlays.matrixSynapseFix ]; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue