about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-02T09·17+0200
committerGitHub <noreply@github.com>2018-08-02T09·17+0200
commit3193f5ff3eb54b40b3330b26bc1eb89c4c4a3015 (patch)
treebad3728c4f19b4b04289e01d3f1c4dcec0941b84 /src
parentb27431b7cb918e6866f4bb4fa7ec6e23240cfeab (diff)
parentfb6907e3d68f1373917b8c46f4cd1abb341f4bbd (diff)
Merge pull request #2322 from samueldr/fix/removes-unused-variable
Removes unused variable from `nix-build/nix-shell`
Diffstat (limited to 'src')
-rwxr-xr-xsrc/nix-build/nix-build.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index de0e9118fd21..35ad98731538 100755
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -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;