1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-24 03:09:35 +01:00

Remove buildUser from DerivationBuilder

The use of a `buildUser` is an implementation detail of some types of
sandboxes that shouldn't exposed.
This commit is contained in:
Eelco Dolstra 2025-05-26 15:53:05 +02:00
parent ed3e2a71ea
commit 69914e4b3c
3 changed files with 7 additions and 7 deletions

View file

@ -655,8 +655,8 @@ Goal::Co DerivationBuildingGoal::tryToBuild()
builder->startBuilder();
} catch (BuildError & e) {
builder.reset();
outputLocks.unlock();
builder->buildUser.reset();
worker.permanentFailure = true;
co_return done(BuildResult::InputRejected, {}, std::move(e));
}