diff options
author | regnat <rg@regnat.ovh> | 2021-02-26 16:34:33 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-02-26 16:35:05 +0100 |
commit | f54976d77bd144535e9b4844dbdb6bc52eac11fd (patch) | |
tree | afa8f404ee7d54a4c82dbdcdfa9678ffb06d9576 /src/libstore/build | |
parent | 076d2b04da72607b67e581572a31db2a220589ed (diff) |
Simplify the case where the drv is a purely input-addressed one
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/entry-points.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/entry-points.cc b/src/libstore/build/entry-points.cc index 99b3fa070..3a05a022c 100644 --- a/src/libstore/build/entry-points.cc +++ b/src/libstore/build/entry-points.cc @@ -69,7 +69,7 @@ BuildResult Store::buildDerivation(const StorePath & drvPath, const BasicDerivat outputId, Realisation{ outputId, *staticOutput.second} ); - if (settings.isExperimentalFeatureEnabled("ca-derivations")) { + if (settings.isExperimentalFeatureEnabled("ca-derivations") && !derivationHasKnownOutputPaths(drv.type())) { auto realisation = this->queryRealisation(outputId); if (realisation) result.builtOutputs.insert_or_assign( |