mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user