We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
outputLocks
Guix have fixed a deadlock, apparently caused by the substitution goal not releasing locks soon enough.
Possible fix:
diff on guix:
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 43a8a371846..edd01bab34d 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -1200,6 +1200,7 @@ void DerivationGoal::tryToBuild() if (buildMode != bmCheck && validPaths.size() == drv.outputs.size()) { debug(format("skipping build of derivation `%1%', someone beat us to it") % drvPath); outputLocks.setDeletion(true); + outputLocks.unlock(); done(BuildResult::AlreadyValid); return; } @@ -3070,6 +3071,7 @@ void SubstitutionGoal::tryToRun() if (!repair && worker.store.isValidPath(storePath)) { debug(format("store path `%1%' has become valid") % storePath); outputLock->setDeletion(true); + outputLock.reset(); amDone(ecSuccess); return; }
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered:
#12160
Sorry, something went wrong.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2025-01-08-nix-team-meeting-minutes-207/58523/1
No branches or pull requests
Describe the bug
Guix have fixed a deadlock, apparently caused by the substitution goal not releasing locks soon enough.
Steps To Reproduce
Expected behavior
Possible fix:
diff on guix:
Metadata
Additional context
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: