mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
Removes unused variable from nix-build/nix-shell
This particular `shell` variable wasn't used, since a new one was declared in the only side of the `if` branch that used a `shell` variable. It could realistically confuse developers thinking it could use `$SHELL` under some situations.
This commit is contained in:
parent
b27431b7cb
commit
fb6907e3d6
1 changed files with 0 additions and 1 deletions
|
@ -85,7 +85,6 @@ void mainWrapped(int argc, char * * argv)
|
|||
BuildMode buildMode = bmNormal;
|
||||
bool readStdin = false;
|
||||
|
||||
auto shell = getEnv("SHELL", "/bin/sh");
|
||||
std::string envCommand; // interactive shell
|
||||
Strings envExclude;
|
||||
|
||||
|
|
Loading…
Reference in a new issue