mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
coputeFSClosure is now transactional, state will now be commited after the component has been build
This commit is contained in:
parent
f3dabd6206
commit
e33a1e4e74
6 changed files with 46 additions and 23 deletions
|
|
@ -202,7 +202,7 @@ void updateRevisionsRecursivelyTxn(const Transaction & txn, const Path & statePa
|
|||
RevisionNumbersSet rivisionMapping;
|
||||
|
||||
PathSet statePaths;
|
||||
storePathRequisites(statePath, false, statePaths, false, true, -1); //Get all current state dependencies
|
||||
storePathRequisitesTxn(txn, statePath, false, statePaths, false, true, -1); //Get all current state dependencies
|
||||
|
||||
//Add own statePath (may already be in there, but its a set, so no doubles)
|
||||
statePaths.insert(statePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue