Merge pull request #6469 from gbpdt/fix/skipped_build_locking

Unlock output paths when a derivation is already built
This commit is contained in:
Théophane Hufschmitt 2023-11-16 21:59:25 +01:00 committed by GitHub
commit 7ba4e073e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1474,6 +1474,7 @@ void DerivationGoal::done(
SingleDrvOutputs builtOutputs,
std::optional<Error> ex)
{
outputLocks.unlock();
buildResult.status = status;
if (ex)
buildResult.errorMsg = fmt("%s", normaltxt(ex->info().msg));