mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 15:22:27 +00:00
Eventually delete the CA paths lock files
Mark the lockfiles as having to eventually be deleted so that they don’t stay laying around in the store at the end of the build Fix #4936
This commit is contained in:
parent
08270af7fe
commit
8b6fba2b63
@ -2481,6 +2481,7 @@ void LocalDerivationGoal::registerOutputs()
|
||||
floating CA derivations and hash-mismatching fixed-output
|
||||
derivations. */
|
||||
PathLocks dynamicOutputLock;
|
||||
dynamicOutputLock.setDeletion(true);
|
||||
auto optFixedPath = output.path(worker.store, drv->name, outputName);
|
||||
if (!optFixedPath ||
|
||||
worker.store.printStorePath(*optFixedPath) != finalDestPath)
|
||||
|
Loading…
Reference in New Issue
Block a user