mealie: fix relative path in code handling backup

Signed-off-by: Litchi Pi <litchi.pi@proton.me>
This commit is contained in:
Litchi Pi 2024-08-19 20:45:05 +02:00
parent c826cd39aa
commit 36a456f157

View File

@ -112,6 +112,9 @@ pythonpkgs.buildPythonApplication rec {
substituteInPlace mealie/db/init_db.py \
--replace-fail 'PROJECT_DIR = ' "PROJECT_DIR = Path('$out') #"
substituteInPlace mealie/services/backups_v2/alchemy_exporter.py \
--replace-fail '"script_location", path.join(PROJECT_DIR, "alembic")' '"script_location", "${src}/alembic"'
'';
postInstall = let