Pass SHELL through self-escalation (#195)
This commit is contained in:
parent
a748f7628a
commit
fb168f4457
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ pub fn ensure_root() -> eyre::Result<()> {
|
||||||
"RUST_LOG" | "RUST_BACKTRACE" => true,
|
"RUST_LOG" | "RUST_BACKTRACE" => true,
|
||||||
// CI
|
// CI
|
||||||
"GITHUB_PATH" => true,
|
"GITHUB_PATH" => true,
|
||||||
|
// Used for detecting what command to suggest for sourcing Nix
|
||||||
|
"SHELL" => true,
|
||||||
// Our own environments
|
// Our own environments
|
||||||
key if key.starts_with("NIX_INSTALLER") => true,
|
key if key.starts_with("NIX_INSTALLER") => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
|
|
Loading…
Reference in a new issue