diff options
author | sefidel <contact@sefidel.net> | 2024-03-06 22:47:14 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-03-06 22:47:14 +0900 |
commit | 7321f5c20fc758da5e6ce3e5ada280dd9865afe7 (patch) | |
tree | ed94d1a339acbd22389eb76614e661fb44c91a40 /flake.nix | |
parent | ecd5cfcecc39532a0dc348157b94be302e828fb5 (diff) | |
download | infra-7321f5c20fc758da5e6ce3e5ada280dd9865afe7.tar.gz infra-7321f5c20fc758da5e6ce3e5ada280dd9865afe7.zip |
feat(modules/matrix-homeserver): use synapse v1.102.0 PR
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index e9f1a01..e106218 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ nixpkgs-2111.url = "github:nixos/nixpkgs/nixos-21.11"; nixpkgs-exotic.url = "git+https://git.exotic.sh/nixpkgs-exotic"; + nixpkgs-synapse.url = "github:NickCao/nixpkgs/matrix-synapse"; colmena.url = "github:zhaofengli/colmena"; colmena.inputs.nixpkgs.follows = "unstable"; @@ -34,7 +35,13 @@ system = "x86_64-linux"; - pkgs = import unstable { inherit system; overlays = [ inputs.nixpkgs-exotic.overlays.default ]; }; + pkgs = import unstable { inherit system; overlays = [ + inputs.nixpkgs-exotic.overlays.default + (final: prev: { + # TODO: https://github.com/NixOS/nixpkgs/pull/293650 + inherit (inputs.nixpkgs-synapse.legacyPackages.${system}) matrix-synapse; + }) + ]; }; lib = unstable.lib.extend (self: super: { my = import ./lib { inherit pkgs inputs; lib = self; }; }); |