diff --git a/flake.nix b/flake.nix index 87f1134..948ffba 100644 --- a/flake.nix +++ b/flake.nix @@ -59,6 +59,8 @@ stdenv, makeRustPlatform, wasm-bindgen-cli, + apiServerBase ? "http://localhost:8085", + frontendRoot ? "http://localhost:8080", }: let rustPlatformWasm = makeRustPlatform { rustc = rust; @@ -73,6 +75,9 @@ cargoDeps = rustPlatformWasm.importCargoLock {lockFile = ./Cargo.lock;}; + REGALADE_API_SERVER_BASE = apiServerBase; + REGALADE_FRONTEND_DOMAIN = frontendRoot; + nativeBuildInputs = [ dioxus-cli wasm-bindgen-cli