mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 20:20:58 +01:00
before adjusting derivers table
This commit is contained in:
parent
95ce7e04b7
commit
fe04276aef
5 changed files with 12 additions and 12 deletions
|
|
@ -775,9 +775,6 @@ void DerivationGoal::haveDerivation()
|
|||
|
||||
/* If they are all valid, then we're done. */
|
||||
if (invalidOutputs.size() == 0) {
|
||||
|
||||
printMsg(lvlError, format("Check State VALIDITY BEFORE: `%1%'") % drvPath);
|
||||
|
||||
amDone(ecSuccess);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1170,7 +1170,7 @@ vector<int> LocalStore::getStatePathsInterval(const PathSet & statePaths)
|
|||
return nix::getStatePathsInterval(statePaths);
|
||||
}
|
||||
|
||||
|
||||
//TODO INCLUDE USERNAME + IDENTIFIER!!!!!
|
||||
Derivation getStateDerivation(const Path & path)
|
||||
{
|
||||
Transaction txn(nixDB); //TODO should u do a transaction here? ... this might delay the process ...
|
||||
|
|
@ -1252,6 +1252,7 @@ void LocalStore::addUpdatedStateDerivation(const Path & newdrv, const Path & sto
|
|||
nix::addUpdatedStateDerivation(newdrv, storepath);
|
||||
}
|
||||
|
||||
//TODO INCLUDE USERNAME + IDENTIFIER, the can be multiple derivations for the same component
|
||||
void updateAllStateDerivations()
|
||||
{
|
||||
Transaction txn(nixDB);
|
||||
|
|
@ -1295,7 +1296,7 @@ void LocalStore::updateAllStateDerivations()
|
|||
nix::updateAllStateDerivations();
|
||||
}
|
||||
|
||||
|
||||
//TODO INCLUDE USERNAME + IDENTIFIER, the can be multiple derivations for the same component
|
||||
void updateStateDerivation(const Transaction & txn, const Path & storepath)
|
||||
{
|
||||
Path drvPath = queryDeriver(txn, storepath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue