We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109213e commit d20639aCopy full SHA for d20639a
1 file changed
src/hydra-queue-runner/build-remote.cc
@@ -259,13 +259,10 @@ void State::buildRemote(ref<Store> destStore,
259
basicDrv = BasicDerivation(*step->drv);
260
for (auto & input : step->drv->inputDrvs) {
261
auto drv2 = localStore->readDerivation(input.first);
262
- auto hashes = staticOutputHashes(*localStore, drv2);
+ auto drv2Outputs = drv2.outputsAndOptPaths(*localStore);
263
for (auto & name : input.second) {
264
- if (settings.isExperimentalFeatureEnabled("ca-derivations")) {
265
- auto inputRealisation = localStore->queryRealisation(DrvOutput{hashes.at(name), name});
266
- assert(inputRealisation);
267
- basicDrv.inputSrcs.insert(inputRealisation->outPath);
268
- }
+ auto inputPath = drv2Outputs.at(name);
+ basicDrv.inputSrcs.insert(*inputPath.second);
269
}
270
271
0 commit comments