Use wantOutput

Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Eelco Dolstra
2022-03-25 08:02:49 +01:00
committed by GitHub
co-authored by John Ericson
parent 187dc080a2
commit 50c229ad9a
+1 -1
View File
@@ -2613,7 +2613,7 @@ DrvOutputs LocalDerivationGoal::registerOutputs()
signRealisation(thisRealisation);
worker.store.registerDrvOutput(thisRealisation);
}
if (wantedOutputs.empty() || wantedOutputs.count(outputName))
if (wantOutput(outputName, wantedOutputs))
builtOutputs.emplace(thisRealisation.id, thisRealisation);
}