1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 23:51:47 +02:00

* Path locking in addToStore() and expandPath().

This commit is contained in:
Eelco Dolstra 2003-08-04 07:09:36 +00:00
parent c95b4ad290
commit d2e963f7a3
2 changed files with 16 additions and 1 deletions

View file

@ -86,7 +86,7 @@ FSId normaliseFState(FSId id, FSIdSet pending)
/* Obtain locks on all output paths. The locks are automatically
released when we exit this function or Nix crashes. */
PathLocks outputLock(pathsFromOutPaths(outPaths));
PathLocks outputLocks(pathsFromOutPaths(outPaths));
/* Now check again whether there is a successor. This is because
another process may have started building in parallel. After