forked from lix-project/lix
Revert "Re-query for the derivation outputs in the post-build-hook"
This reverts commit 1b1e076033
.
Using `queryPartialDerivationOutputMap` assumes that the derivation
exists locally which isn't the case for remote builders.
This commit is contained in:
parent
82e5511594
commit
6758e65612
|
@ -899,10 +899,8 @@ void DerivationGoal::buildDone()
|
||||||
Logger::Fields{worker.store.printStorePath(drvPath)});
|
Logger::Fields{worker.store.printStorePath(drvPath)});
|
||||||
PushActivity pact(act.id);
|
PushActivity pact(act.id);
|
||||||
StorePathSet outputPaths;
|
StorePathSet outputPaths;
|
||||||
for (auto& [_, maybeOutPath] :
|
for (auto i : drv->outputs) {
|
||||||
worker.store.queryPartialDerivationOutputMap(drvPath)) {
|
outputPaths.insert(finalOutputs.at(i.first));
|
||||||
if (maybeOutPath)
|
|
||||||
outputPaths.insert(*maybeOutPath);
|
|
||||||
}
|
}
|
||||||
std::map<std::string, std::string> hookEnvironment = getEnv();
|
std::map<std::string, std::string> hookEnvironment = getEnv();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue