mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 07:22:43 +01:00
Move markContentsGood to after DerivationBuilder finishes
I think this should be fine for repairing. If anything, it is better, because it would be weird to "mark and output good" only for it to then fail output checks.
This commit is contained in:
parent
bde745cb3f
commit
3e0b1705c1
3 changed files with 4 additions and 9 deletions
|
|
@ -1804,7 +1804,6 @@ SingleDrvOutputs DerivationBuilderImpl::registerOutputs()
|
|||
}
|
||||
|
||||
store.optimisePath(actualPath, NoRepair); // FIXME: combine with scanForReferences()
|
||||
miscMethods->markContentsGood(newInfo.path);
|
||||
|
||||
newInfo.deriver = drvPath;
|
||||
newInfo.ultimate = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue