From adf17a7b390d958c1dd5ae7bd99e99e284864f08 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Tue, 3 Feb 2026 00:27:40 +0100 Subject: [PATCH] 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 --- lix/libstore/build/local-derivation-goal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lix/libstore/build/local-derivation-goal.cc b/lix/libstore/build/local-derivation-goal.cc index 6acb1569a..682c22bbd 100644 --- a/lix/libstore/build/local-derivation-goal.cc +++ b/lix/libstore/build/local-derivation-goal.cc @@ -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 {