aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/nix-build/nix-build.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index 4d86f394b..ef959fa00 100755
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -276,6 +276,7 @@ int main(int argc, char ** argv)
if (n >= args.size()) {
throw UsageError(format("%1% requires an argument") % arg);
}
+ interactive = false;
auto interpreter = args[n];
auto execArgs = "";