Merge pull request #46 from DeterminateSystems/fix-post-build-hook
Fix post-build hook
This commit is contained in:
commit
1a898bd613
|
@ -260,7 +260,7 @@ async fn main_cli() -> Result<()> {
|
||||||
format!(
|
format!(
|
||||||
// NOTE(cole-h): We want to exit 0 even if the hook failed, otherwise it'll fail the
|
// NOTE(cole-h): We want to exit 0 even if the hook failed, otherwise it'll fail the
|
||||||
// build itself
|
// build itself
|
||||||
"#! /bin/sh\nexec RUST_LOG=trace RUST_BACKTRACE=full {} --server {}\n",
|
"#! /bin/sh\nRUST_LOG=trace RUST_BACKTRACE=full exec {} --server {}\n",
|
||||||
std::env::current_exe()
|
std::env::current_exe()
|
||||||
.with_context(|| "Getting the path of magic-nix-cache")?
|
.with_context(|| "Getting the path of magic-nix-cache")?
|
||||||
.display(),
|
.display(),
|
||||||
|
|
Loading…
Reference in a new issue