diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-06-11 14:06:35 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-06-11 14:06:35 -0600 |
commit | ef1b3f21b6e51007d82e8e894dd9ecec0d1c5207 (patch) | |
tree | 28ec34c71e98779d0b655a0b8e9070b981ee0cd9 /src/nix-build | |
parent | 94c347577ecea5dcd10a31ebfadf94db6ca5ab0d (diff) | |
parent | ac4d43a31bb32c1205b44d69e87606b7f54922a1 (diff) |
Merge remote-tracking branch 'upstream/master' into errors-phase-2
Diffstat (limited to 'src/nix-build')
-rwxr-xr-x | src/nix-build/nix-build.cc | 4 |
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'; } |