Remove compile_themes from Bookwyrm service, add temporary build phase
This commit is contained in:
parent
c5f5c973c0
commit
37763f144e
2 changed files with 8 additions and 2 deletions
|
@ -17,7 +17,6 @@ with pkgs . kernelmaft ;
|
|||
ExecStartPre=${coreutils-full}/bin/ln -sf ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
|
||||
ExecStartPre=${bookwyrm}/bin/bookwyrm-env ${python311}/bin/python ${bookwyrm}/lib/python3.11/manage.py migrate
|
||||
ExecStartPre=${bookwyrm}/bin/bookwyrm-env ${python311}/bin/python ${bookwyrm}/lib/python3.11/manage.py initdb
|
||||
ExecStartPre=${bookwyrm}/bin/bookwyrm-env ${python311}/bin/python ${bookwyrm}/lib/python3.11/manage.py compile_themes
|
||||
ExecStart=${bookwyrm}/bin/bookwyrm-env ${bookwyrm}/bin/bookwyrm
|
||||
|
||||
WorkingDirectory=/var/lib/bookwyrm
|
||||
|
|
|
@ -23,7 +23,14 @@ mkDerivation {
|
|||
|
||||
dontPatch = true ;
|
||||
dontConfigure = true ;
|
||||
dontBuild = true ;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
pwd
|
||||
|
||||
runHook postBuild
|
||||
'' ;
|
||||
|
||||
installPhase = let
|
||||
pythonDependencies = [
|
||||
|
|
Loading…
Add table
Reference in a new issue