This commit is contained in:
Adrian Gunnar Lauterer 2024-09-08 03:50:17 +02:00
parent c8cc0c308a
commit 20a26b2a64
Signed by: adriangl
GPG Key ID: D33368A59745C2F0

View File

@ -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 \