nixos/mautrix-telegram: fix base-config path

This commit is contained in:
Milan Pässler 2020-07-29 16:33:00 +02:00 committed by Milan Pässler
parent 24cd23aa30
commit 2d819e968e

View File

@ -125,7 +125,7 @@ in {
if [ ! -f '${registrationFile}' ]; then
${pkgs.mautrix-telegram}/bin/mautrix-telegram \
--generate-registration \
--base-config='${pkgs.mautrix-telegram}/example-config.yaml' \
--base-config='${pkgs.mautrix-telegram}/${pkgs.mautrix-telegram.pythonModule.sitePackages}/mautrix_telegram/example-config.yaml' \
--config='${settingsFile}' \
--registration='${registrationFile}'
fi