diff --git a/containers/mautrix-facebook.nix b/containers/mautrix-facebook.nix index dff302d..f2e92a4 100644 --- a/containers/mautrix-facebook.nix +++ b/containers/mautrix-facebook.nix @@ -16,6 +16,11 @@ nglib.makeSystem { script = let config = ./mautrix-facebook.yaml; + mautrix-facebook = pkgs.mautrix-facebook.overridePythonAttrs (old: { + propagatedBuildInputs = with pkgs.python3.pkgs; [ + aiosqlite + ] ++ old.propagatedBuildInputs; + }); in pkgs.writeShellScript "mautrix-facebook" '' @@ -28,8 +33,8 @@ nglib.makeSystem { ${pkgs.sqlite}/bin/sqlite3 $DB_FILE '.databases ; .quit' [ -e "$REGISTRATION_FILE" ] || \ - ${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -g - ${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -n + ${mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -g + ${mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -n ''; }; });