aboutsummaryrefslogtreecommitdiff
path: root/src/nix-build/nix-build.cc
diff options
context:
space:
mode:
authorelikoga <elikowa@gmail.com>2022-05-16 01:01:37 +0200
committerGitHub <noreply@github.com>2022-05-16 01:01:37 +0200
commit0cea59ab4bbd7902d61dd02df8136fae3ae8d4c9 (patch)
treeebef4518ff5d80f1a71101c8e42a39147765daa3 /src/nix-build/nix-build.cc
parentbe2b19041eeec53fba24f7c2494f3f700a4ec595 (diff)
parentbf89cd95a4af35ab15f7fad3186c8f6190f87c84 (diff)
Merge branch 'NixOS:master' into master
Diffstat (limited to 'src/nix-build/nix-build.cc')
-rw-r--r--src/nix-build/nix-build.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index 519855ea3..426f23905 100644
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -543,8 +543,6 @@ static void main_nix_build(int argc, char * * argv)
restoreProcessContext();
- logger->stop();
-
execvp(shell->c_str(), argPtrs.data());
throw SysError("executing shell '%s'", *shell);
@@ -603,8 +601,6 @@ static void main_nix_build(int argc, char * * argv)
outPaths.push_back(outputPath);
}
- logger->stop();
-
for (auto & path : outPaths)
std::cout << store->printStorePath(path) << '\n';
}