diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:53:17 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:53:17 +0100 |
commit | 5d77afe0a4c70fe4d490717dfcbcab11823f914f (patch) | |
tree | e2bb9b49977280e5591dcc0cc4f6b68e50208375 | |
parent | 5e182235cb7e7b601c5e010c298bf17415113ce0 (diff) |
Merge pull request #6469 from gbpdt/fix/skipped_build_locking
Unlock output paths when a derivation is already built
(cherry picked from commit 7ba4e073e8622ca86b52e03d68476e80250ab62f)
Change-Id: I9de077679290d5141a610ac43d99d3a43acff87c
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc index 360c6b70b..4a422ea94 100644 --- a/src/libstore/build/derivation-goal.cc +++ b/src/libstore/build/derivation-goal.cc @@ -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)); |