Show full backtrace if build hook panics
This commit is contained in:
parent
28eca6460d
commit
3cb4c6dbe0
|
@ -235,7 +235,7 @@ async fn main_cli() {
|
|||
.expect("Creating a temporary file");
|
||||
file.write_all(
|
||||
format!(
|
||||
"#! /bin/sh\nexec {} --server {}\n",
|
||||
"#! /bin/sh\nexec env RUST_BACKTRACE=full {} --server {}\n",
|
||||
std::env::current_exe()
|
||||
.expect("Getting the path of magic-nix-cache")
|
||||
.display(),
|
||||
|
|
Loading…
Reference in a new issue