mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
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
1 changed files with 2 additions and 4 deletions
|
@ -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