aboutsummaryrefslogtreecommitdiff
path: root/src/build-remote
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-02-26 16:34:33 +0100
committerregnat <rg@regnat.ovh>2021-02-26 16:35:05 +0100
commitf54976d77bd144535e9b4844dbdb6bc52eac11fd (patch)
treeafa8f404ee7d54a4c82dbdcdfa9678ffb06d9576 /src/build-remote
parent076d2b04da72607b67e581572a31db2a220589ed (diff)
Simplify the case where the drv is a purely input-addressed one
Diffstat (limited to 'src/build-remote')
-rw-r--r--src/build-remote/build-remote.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc
index 7f3636f6b..736b81542 100644
--- a/src/build-remote/build-remote.cc
+++ b/src/build-remote/build-remote.cc
@@ -283,7 +283,7 @@ connected:
std::set<Realisation> missingRealisations;
StorePathSet missingPaths;
- if (settings.isExperimentalFeatureEnabled("ca-derivations")) {
+ if (settings.isExperimentalFeatureEnabled("ca-derivations") && !derivationHasKnownOutputPaths(drv.type())) {
for (auto & outputName : wantedOutputs) {
auto thisOutputHash = outputHashes.at(outputName);
auto thisOutputId = DrvOutput{ thisOutputHash, outputName };