From 929d09a81c8fb11ab5bc6105cc85b6113c167ba5 Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Sun, 9 Jul 2023 18:24:38 +0200 Subject: [PATCH] server: fix `nix build` invocation --- typhon/src/nix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typhon/src/nix.rs b/typhon/src/nix.rs index 3fd37b15..dc5fa0d9 100644 --- a/typhon/src/nix.rs +++ b/typhon/src/nix.rs @@ -67,7 +67,7 @@ impl CommandExtTrait for Command { pub async fn build(path: &DrvPath) -> Result { let build_logs = BUILD_LOGS.get().unwrap(); let mut child = Command::nix(["build", "--log-format", "internal-json", "--json"]) - .arg(&path) + .arg(format!("{}^*", path)) .stdin(Stdio::inherit()) .stdout(Stdio::piped()) .stderr(Stdio::piped())