about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/services/matrix-bridge.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/services/matrix-bridge.nix b/modules/services/matrix-bridge.nix
index 96250f1..208f8ff 100644
--- a/modules/services/matrix-bridge.nix
+++ b/modules/services/matrix-bridge.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
 
 with lib;
 let
@@ -63,6 +63,13 @@ in
 
     services.mautrix-signal = {
       enable = true;
+      package = pkgs.mautrix-signal.overrideAttrs (prev: {
+        propagatedBuildInputs = (lib.lists.remove pkgs.python3Packages.mautrix prev.propagatedBuildInputs) ++ [
+          # mautrix-signal wants <0.20, but nix supplies >=0.20
+          pkgs.python3Packages.mautrix_0_19
+        ];
+      });
+
       environmentFile = cfg.secrets.mautrix-envs;
       serviceDependencies = [ "matrix-synapse.service" ];