Include build phase artifacts in Bookwyrm package expression
This commit is contained in:
parent
1c16839be1
commit
c0bef7fde0
1 changed files with 6 additions and 6 deletions
|
@ -118,10 +118,10 @@ mkDerivation {
|
|||
export EMAIL_HOST_PASSWORD=""
|
||||
export SECRET_KEY=""
|
||||
|
||||
rm -r bookwyrm/migrations/*
|
||||
touch bookwyrm/migrations/__init__.py
|
||||
# rm -r bookwyrm/migrations/*
|
||||
# touch bookwyrm/migrations/__init__.py
|
||||
|
||||
${python311}/bin/python manage.py makemigrations
|
||||
# ${python311}/bin/python manage.py makemigrations
|
||||
|
||||
${python311}/bin/python manage.py compile_themes
|
||||
${python311}/bin/python manage.py collectstatic --no-input
|
||||
|
@ -145,12 +145,12 @@ mkDerivation {
|
|||
|
||||
# Python packages
|
||||
|
||||
cp -r $src/bookwyrm $out/lib/python3.11/site-packages/
|
||||
cp -r $src/celerywyrm $out/lib/python3.11/site-packages/
|
||||
cp -r /build/source/bookwyrm $out/lib/python3.11/site-packages/
|
||||
cp -r /build/source/celerywyrm $out/lib/python3.11/site-packages/
|
||||
|
||||
# Python scripts
|
||||
|
||||
cp $src/manage.py $out/lib/python3.11/
|
||||
cp /build/source/manage.py $out/lib/python3.11/
|
||||
|
||||
# Static web files
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue