Compare commits

..

No commits in common. "5af00580bbc7fbc7a1df58c7b010663e7c3dbb2d" and "4ef542df06f2230e40dbb77071487599e777b8d1" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View file

@ -16,7 +16,6 @@ with pkgs . kernelmaft ;
# 'initdb' fails harmlessly if it has been run on the database before
ExecStartPre=${coreutils-full}/bin/ln -sf ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
ExecStartPre=mkdir -p /var/lib/bookwyrm/images
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
ExecStart=${bookwyrm}/bin/bookwyrm-env ${bookwyrm}/bin/bookwyrm

View file

@ -91,8 +91,8 @@ mkDerivation {
domain = "kernelmaft.com/forgejo" ;
owner = "zedfrigg" ;
repo = "bookwyrm" ;
rev = "229a035a2be1811123b5afcb035fab61d13f0a47" ;
hash = "sha256-0pwszQwx/RsCv3pxGifyAEpzXfTBiwOOt+h3pZuN3Bk=" ;
rev = "984b9b08fc1219be5581e339c00d51d7f956fc3f" ;
hash = "sha256-mhULkMLm4g+J/UoPWRpoh0CXcFQ4MhkP0xKJvTzJVSM=" ;
} ;
dontPatch = true ;
@ -179,6 +179,8 @@ mkDerivation {
export PYTHONPATH=$out/lib/python3.11/site-packages
export DEBUG=false
export REDIS_ACTIVITY_URL=unix:///run/redis-bookwyrm-activity/redis.sock
export REDIS_BROKER_URL=unix:///run/redis-bookwyrm-broker/redis.sock
export STATIC_ROOT_ABS=$out/srv/http
exec \$@