libstore: reformat DarwinLocalDerivationGoal::execBuilder

it'll make diffing later a little bit easier.

Change-Id: I57b62fa0977648cf6948a07c1a103b0e1d6b6624
This commit is contained in:
eldritch horrors
2026-02-03 00:27:40 +01:00
parent 3d77ee8d94
commit e575a3a930
+4 -2
View File
@@ -421,11 +421,13 @@ void DarwinLocalDerivationGoal::execBuilder(build::Request::Reader request)
posix_spawnattr_t attrp;
if (posix_spawnattr_init(&attrp))
if (posix_spawnattr_init(&attrp)) {
throw SysError("failed to initialize builder");
}
if (posix_spawnattr_setflags(&attrp, POSIX_SPAWN_SETEXEC))
if (posix_spawnattr_setflags(&attrp, POSIX_SPAWN_SETEXEC)) {
throw SysError("failed to initialize builder");
}
const auto platform = rpc::to<std::string_view>(config.getPlatform());