test6
This commit is contained in:
parent
c8cc0c308a
commit
20a26b2a64
16
flake.nix
16
flake.nix
|
@ -41,12 +41,12 @@
|
|||
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -82,9 +82,7 @@ packages.x86_64-linux.ozai-webui-run = pkgs.stdenv.mkDerivation rec {
|
|||
mkdir -p $out/share/ozai_webui/templates
|
||||
mkdir -p $out/bin/templates
|
||||
mkdir -p $out/bin/static
|
||||
cp -r $src/templates $out/bin/templates
|
||||
cp -r $src/templates $out/bin/templates
|
||||
cp -r $src/static $out/bin/static
|
||||
cp -r $src/* $out/bin
|
||||
cp $src/run.sh $out/bin/run
|
||||
chmod +x $out/bin/run
|
||||
wrapProgram $out/bin/run \
|
||||
|
|
Loading…
Reference in New Issue