mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Remove dead outputPaths variable.
This commit is contained in:
parent
46357468a4
commit
632ccfb8c0
1 changed files with 0 additions and 3 deletions
|
|
@ -170,8 +170,6 @@ Goal::Co DerivationGoal::haveDerivation(bool storeDerivation)
|
|||
auto outputHashes = staticOutputHashes(worker.evalStore, *drv);
|
||||
auto resolvedHashes = staticOutputHashes(worker.store, drvResolved);
|
||||
|
||||
StorePathSet outputPaths;
|
||||
|
||||
auto outputHash = get(outputHashes, wantedOutput);
|
||||
auto resolvedHash = get(resolvedHashes, wantedOutput);
|
||||
if ((!outputHash) || (!resolvedHash))
|
||||
|
|
@ -211,7 +209,6 @@ Goal::Co DerivationGoal::haveDerivation(bool storeDerivation)
|
|||
worker.store.signRealisation(newRealisation);
|
||||
worker.store.registerDrvOutput(newRealisation);
|
||||
}
|
||||
outputPaths.insert(realisation.outPath);
|
||||
|
||||
auto status = success.status;
|
||||
if (status == BuildResult::Success::AlreadyValid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue