From b207baacdc6aded971c1e7bc00f1ff2ec5f24036 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 1 Oct 2026 22:29:15 +0200 Subject: [PATCH] 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. --- pkgs/by-name/pr/pretalx/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/pr/pretalx/package.nix b/pkgs/by-name/pr/pretalx/package.nix index 269d88566812..4c5a53cb059f 100644 --- a/pkgs/by-name/pr/pretalx/package.nix +++ b/pkgs/by-name/pr/pretalx/package.nix @@ -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