Merge pull request #335881 from litchipi/mealie_fixup_backup

mealie: fix relative path in code handling backup
This commit is contained in:
Bruno BELANYI 2024-08-20 14:04:56 +01:00 committed by GitHub
commit 02990b452c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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