mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
Properly track the drvoutput references when building
This commit is contained in:
parent
af3afd25ea
commit
8c30acc3e8
3 changed files with 48 additions and 0 deletions
|
|
@ -927,6 +927,7 @@ void DerivationGoal::resolvedFinished() {
|
|||
auto newRealisation = *realisation;
|
||||
newRealisation.id = DrvOutput{initialOutputs.at(wantedOutput).outputHash, wantedOutput};
|
||||
newRealisation.signatures.clear();
|
||||
newRealisation.drvOutputDeps = drvOutputReferences(worker.store, *drv, realisation->outPath);
|
||||
signRealisation(newRealisation);
|
||||
worker.store.registerDrvOutput(newRealisation);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue