aboutsummaryrefslogtreecommitdiff
path: root/src/nix-build
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-06-11 14:06:35 -0600
committerBen Burdette <bburdette@gmail.com>2020-06-11 14:06:35 -0600
commitef1b3f21b6e51007d82e8e894dd9ecec0d1c5207 (patch)
tree28ec34c71e98779d0b655a0b8e9070b981ee0cd9 /src/nix-build
parent94c347577ecea5dcd10a31ebfadf94db6ca5ab0d (diff)
parentac4d43a31bb32c1205b44d69e87606b7f54922a1 (diff)
Merge remote-tracking branch 'upstream/master' into errors-phase-2
Diffstat (limited to 'src/nix-build')
-rwxr-xr-xsrc/nix-build/nix-build.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index 03200d050..591fff999 100755
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -477,6 +477,8 @@ static void _main(int argc, char * * argv)
restoreSignals();
+ logger->stop();
+
execvp(shell->c_str(), argPtrs.data());
throw SysError("executing shell '%s'", *shell);
@@ -526,6 +528,8 @@ static void _main(int argc, char * * argv)
if (auto store2 = store.dynamic_pointer_cast<LocalFSStore>())
store2->addPermRoot(store->parseStorePath(symlink.second), absPath(symlink.first), true);
+ logger->stop();
+
for (auto & path : outPaths)
std::cout << path << '\n';
}