mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Simplify the case where the drv is a purely input-addressed one
This commit is contained in:
parent
076d2b04da
commit
f54976d77b
4 changed files with 18 additions and 2 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue