App inputs to control the app building in Nix
This commit is contained in:
parent
81b905aaa5
commit
cfe7f9dada
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue