diff --git a/flake.nix b/flake.nix index 948ffba..b26323e 100644 --- a/flake.nix +++ b/flake.nix @@ -61,6 +61,21 @@ wasm-bindgen-cli, apiServerBase ? "http://localhost:8085", frontendRoot ? "http://localhost:8080", + fetchzip, + bootstrap ? let + version = "5.3.1"; + in + fetchzip { + url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip"; + hash = "sha256-BKtQB7IaslmmW6cLF4m/uUJQaBDndRf7tJ9gjItKVI4="; + }, + bootstrapIcons ? let + version = "1.10.5"; + in + fetchzip { + url = "https://github.com/twbs/icons/releases/download/v${version}/bootstrap-icons-${version}.zip"; + hash = "sha256-o+owSIRMIXOH/GvQlVNlnCv/hcWD6kmoXNwm7F1Dmxs="; + }, }: let rustPlatformWasm = makeRustPlatform { rustc = rust; @@ -101,6 +116,8 @@ runHook preInstall cp -R dist $out + ln -s ${bootstrap} $out/bootstrap + ln -s ${bootstrapIcons} $out/bootstrap-icons runHook postInstall '';