feat: enhance install command to accept multiple package specifications and improve runtime environment handling

This commit is contained in:
2026-03-01 21:47:44 -06:00
parent 3080eea58a
commit 6cae1f636a
9 changed files with 524 additions and 345 deletions
+2 -1
View File
@@ -429,7 +429,8 @@ fn run_hook_command(
.env("DEPOT_PACKAGE", ctx.package)
.env("DEPOT_ROOTFS", rootfs)
.env("DEPOT_HOOK_FILE", &hook.file_path)
.env("DEPOT_HOOK_NAME", &hook_name);
.env("DEPOT_HOOK_NAME", &hook_name)
.env("PATH", crate::runtime_env::safe_script_path());
let status = run_command_with_optional_stdin(&mut command, stdin_payload.as_deref())
.with_context(|| {