mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 12:10:59 +01:00
Completed updateStateDerivation(Path storepath) method
This commit is contained in:
parent
bcf9d3ab2f
commit
7166ad8eba
7 changed files with 59 additions and 50 deletions
|
|
@ -623,8 +623,7 @@ static Expr prim_derivationStrict(EvalState & state, const ATermVector & args)
|
|||
if(enableState && !disableState){
|
||||
Path deriver = queryDeriver(noTxn, outPath); //query deriver
|
||||
if(deriver != drvPath){
|
||||
printMsg(lvlError, format("Adding to the db: update drv `%2%' with `%1%'") % drvPath % deriver);
|
||||
store->setUpdatedStateDerivation(drvPath, deriver);
|
||||
store->setUpdatedStateDerivation(drvPath, outPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue