Update flake.nix
This commit is contained in:
parent
2abbdb1475
commit
366ee06c77
|
@ -31,6 +31,12 @@
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/ozai_webui/static
|
mkdir -p $out/share/ozai_webui/static
|
||||||
mkdir -p $out/share/ozai_webui/templates
|
mkdir -p $out/share/ozai_webui/templates
|
||||||
|
mkdir -p $out/lib/python3.11/site-packages/ozai_webui/templates
|
||||||
|
mkdir -p $out/lib/python3.11/site-packages/ozai_webui/static
|
||||||
|
mkdir -p $out/lib/python3.11/site-packages/templates
|
||||||
|
mkdir -p $out/lib/python3.11/site-packages/static
|
||||||
|
mkdir -p $out/lib/python3.11/templates
|
||||||
|
mkdir -p $out/lib/python3.11/static
|
||||||
install -Dm444 ${src}/static/* $out/share/ozai_webui/static/
|
install -Dm444 ${src}/static/* $out/share/ozai_webui/static/
|
||||||
install -Dm444 ${src}/templates/* $out/share/ozai_webui/templates/
|
install -Dm444 ${src}/templates/* $out/share/ozai_webui/templates/
|
||||||
cp -r $src/templates $out/lib/python3.11/site-packages/ozai_webui/templates
|
cp -r $src/templates $out/lib/python3.11/site-packages/ozai_webui/templates
|
||||||
|
@ -39,6 +45,7 @@
|
||||||
cp -r $src/static $out/lib/python3.11/site-packages/ozai_webui/static
|
cp -r $src/static $out/lib/python3.11/site-packages/ozai_webui/static
|
||||||
cp -r $src/static $out/lib/python3.11/site-packages/static
|
cp -r $src/static $out/lib/python3.11/site-packages/static
|
||||||
cp -r $src/static $out/lib/python3.11/static
|
cp -r $src/static $out/lib/python3.11/static
|
||||||
|
chmod -R 444 $out/lib/python3.11
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue