diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-25 08:02:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 08:02:49 +0100 |
commit | 50c229ad9aeece3b4728fedb741d8ef7adb2b2c1 (patch) | |
tree | 26a222b619c38e4a0831f14a7cbd9d81f7385ecc /src/libstore/build | |
parent | 187dc080a2ab3403c1b1b47b3face205a4a67fb4 (diff) |
Use wantOutput
Co-authored-by: John Ericson <git@JohnEricson.me>
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index ed83c4770..b176f318b 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -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); } |