libstore: catch all exceptions in builder setup, not just lix errors

this lets us use std::filesystem and other apis to make builder setup easier.

Change-Id: Ie0303139171161887b610f845e2948fe07c143e0
This commit is contained in:
eldritch horrors
2026-02-03 00:27:40 +01:00
parent 8bd344718b
commit adf17a7b39
+1 -1
View File
@@ -1367,7 +1367,7 @@ void LocalDerivationGoal::runChild(build::Request::Reader request)
throw SysError("executing '%1%'", drv->builder);
} catch (Error & e) {
} catch (std::exception & e) { // NOLINT(lix-foreign-exceptions)
if (sendException) {
writeFull(STDERR_FILENO, std::format("\1{}\n", e.what()));
} else {