Compile themes in build phase in Bookwyrm package
This commit is contained in:
parent
4e461aae52
commit
dba796c5dd
1 changed files with 8 additions and 1 deletions
|
@ -27,7 +27,14 @@ mkDerivation {
|
|||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
ls -lAh /build
|
||||
mkdir -p /lib/python3.11/site-packages
|
||||
|
||||
ln -s ${django}/lib/python3.11/site-packages/* /lib/python3.11/site-packages/
|
||||
ln -s ${libsass}/lib/python3.11/site-packages/* /lib/python3.11/site-packages/
|
||||
|
||||
export PYTHONPATH=/lib/python3.11/site-packages
|
||||
|
||||
${python311}/bin/python manage.py compile_themes
|
||||
|
||||
runHook postBuild
|
||||
'' ;
|
||||
|
|
Loading…
Add table
Reference in a new issue