add auto updater
This commit is contained in:
parent
eac7453a0d
commit
1f8fd2e642
17 changed files with 424 additions and 55 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
description = "Matrix Synapse 1.145.0";
|
||||
description = "matrix-synapse 1.145.0";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/9774bb59bd3bb978cf86b38afc70f9c6d5505983";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/1c096d58809938b66df361d6e5b49a1c369d311a";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
|
|
@ -18,10 +18,13 @@
|
|||
matrix-synapse-unwrapped = nixpkgs.legacyPackages.${system}.matrix-synapse-unwrapped;
|
||||
});
|
||||
|
||||
overlays.default = _final: prev: {
|
||||
matrix-synapse = (import nixpkgs { inherit (prev.stdenv.hostPlatform) system; }).matrix-synapse;
|
||||
matrix-synapse-unwrapped =
|
||||
(import nixpkgs { inherit (prev.stdenv.hostPlatform) system; }).matrix-synapse-unwrapped;
|
||||
};
|
||||
overlays.default = _final: prev:
|
||||
let
|
||||
pinned = nixpkgs.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
matrix-synapse = pinned.matrix-synapse;
|
||||
matrix-synapse-unwrapped = pinned.matrix-synapse-unwrapped;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue