pretalx: fix missing localization files

Running rebuild (includes compilemessages) in preBuild makes the builder
not install any generated files. The result is that we were missing all
.mo files and translation fell back to the msg id everywhere.
This commit is contained in:
Martin Weinelt
2026-10-01 22:29:15 +02:00
parent e1ba21cf19
commit b207baacdc

View File

@@ -145,7 +145,8 @@ python.pkgs.buildPythonApplication (finalAttrs: {
psycopg2
];
};
postBuild = ''
preBuild = ''
# Generate all static files and translations, see
# https://docs.pretalx.org/administrator/commands.html#python-m-pretalx-rebuild
PYTHONPATH=$PYTHONPATH:./src python -m pretalx rebuild