Update flake.nix
This commit is contained in:
parent
2abbdb1475
commit
366ee06c77
19
flake.nix
19
flake.nix
@ -31,14 +31,21 @@
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/ozai_webui/static
|
||||
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}/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/templates
|
||||
cp -r $src/templates $out/lib/python3.11/templates
|
||||
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/static
|
||||
cp -r $src/templates $out/lib/python3.11/site-packages/ozai_webui/templates
|
||||
cp -r $src/templates $out/lib/python3.11/site-packages/templates
|
||||
cp -r $src/templates $out/lib/python3.11/templates
|
||||
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/static
|
||||
chmod -R 444 $out/lib/python3.11
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user