integrate static assets into webui command

This commit is contained in:
Jörg Thalheim
2023-08-25 17:08:39 +02:00
parent 79b02dffab
commit 9ae14a4f7d
11 changed files with 149 additions and 28 deletions

View File

@@ -19,6 +19,7 @@
, zerotierone
, rsync
, pkgs
, ui-assets
}:
let
# This provides dummy options for testing clan config and prevents it from
@@ -49,6 +50,7 @@ let
rm $out/clan_cli/config/jsonschema
cp -r ${self + /lib/jsonschema} $out/clan_cli/config/jsonschema
ln -s ${nixpkgs} $out/clan_cli/nixpkgs
ln -s ${ui-assets} $out/clan_cli/webui/assets
'';
nixpkgs = runCommand "nixpkgs" { } ''
mkdir -p $out/unfree