Skip to content

Commit

Permalink
Fixed environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
johannwagner committed Nov 23, 2023
1 parent 4e5e15d commit a8e535a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vicky-worker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async fn try_run_task(cfg: Arc<AppConfig>, task: &Task) -> anyhow::Result<()> {

let mut child = Command::new("nix")
.args(args)
.env("VICKY_URL", &cfg.vicky_url)
.env("VICKY_API_URL", &cfg.vicky_url)
.env("VICKY_MACHINE_TOKEN", &cfg.machine_token)
.kill_on_drop(true)
.stdin(Stdio::null())
Expand Down

0 comments on commit a8e535a

Please sign in to comment.