Pass SHELL through self-escalation (#195)

This commit is contained in:
Ana Hobden 2023-01-18 10:14:06 -08:00 committed by GitHub
parent a748f7628a
commit fb168f4457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,8 @@ pub fn ensure_root() -> eyre::Result<()> {
"RUST_LOG" | "RUST_BACKTRACE" => true,
// CI
"GITHUB_PATH" => true,
// Used for detecting what command to suggest for sourcing Nix
"SHELL" => true,
// Our own environments
key if key.starts_with("NIX_INSTALLER") => true,
_ => false,