This commit is contained in:
Charlotte 🦝 Delenk 2022-11-02 20:41:05 +01:00
parent 93047acd0f
commit eabcc3a8bf
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -73,6 +73,9 @@ in
chmod -R +w $out
cp start-*.sh $out
sed -i 's/, reflect=True//' $out/moa/models.py
substituteInPlace $out/app.py --replace "from authlib.integrations._client import MissingRequestTokenError" "class MissingRequestTokenError(Exception): pass"
substituteInPlace $out/moa/worker.py --replace "Path(f'" "Path(f'/run/moa_"
substituteInPlace $out/app.py --replace "logHandler = logging.FileHandler('logs/app.log')" "import sys; logHandler = logging.StreamHandler(sys.stderr)"
'';
meta = {
description = "Mastodon-Twitter crossposter";