mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +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)});
|
||||
PushActivity pact(act.id);
|
||||
StorePathSet outputPaths;
|
||||
for (auto& [_, maybeOutPath] :
|
||||
worker.store.queryPartialDerivationOutputMap(drvPath)) {
|
||||
if (maybeOutPath)
|
||||
outputPaths.insert(*maybeOutPath);
|
||||
for (auto i : drv->outputs) {
|
||||
outputPaths.insert(finalOutputs.at(i.first));
|
||||
}
|
||||
std::map<std::string, std::string> hookEnvironment = getEnv();
|
||||
|
||||
|
|
Loading…
Reference in a new issue