mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
Before seperation of dbs references_state and references (and referrers)
This commit is contained in:
parent
c65c296ce0
commit
9d7438db9f
7 changed files with 83 additions and 44 deletions
|
|
@ -443,7 +443,7 @@ static void opRegisterSubstitutes(Strings opFlags, Strings opArgs)
|
|||
}
|
||||
if (!cin || cin.eof()) throw Error("missing input");
|
||||
registerSubstitute(txn, srcPath, sub);
|
||||
setReferences(txn, srcPath, references, stateReferences);
|
||||
setReferences(txn, srcPath, references, stateReferences, 0); //state revision 0, e.g. first commit
|
||||
}
|
||||
|
||||
txn.commit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue