web/quotes: fix tailwind

This commit is contained in:
Luke Granger-Brown 2021-04-30 23:38:11 +00:00
parent c31da4140c
commit 12bbf8e1b3

View file

@ -73,6 +73,8 @@ pkgs.stdenvNoCC.mkDerivation rec {
export STATIC_ROOT="$out/share/static" export STATIC_ROOT="$out/share/static"
export DJANGO_SETTINGS_MODULE=quotes.quotesapp.settings export DJANGO_SETTINGS_MODULE=quotes.quotesapp.settings
export PYTHONPATH=$PYTHONPATH''${PYTHONPATH:+':'}"$sitepkgdir" export PYTHONPATH=$PYTHONPATH''${PYTHONPATH:+':'}"$sitepkgdir"
mkdir $NIX_BUILD_TOP/tmp
export HOME=$NIX_BUILD_TOP/tmp
django-admin tailwind build django-admin tailwind build
django-admin collectstatic --no-input django-admin collectstatic --no-input