aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.cc
diff options
context:
space:
mode:
authorYorick van Pelt <yorick@yorickvanpelt.nl>2023-01-31 12:51:12 +0100
committerYorick van Pelt <yorick@yorickvanpelt.nl>2023-05-08 12:58:59 +0200
commit2ca2c80c4e08544cb64f4dc00d083fb9540c2b04 (patch)
treef757a8d618fd8e1f6cff1ccc82cd8835efcd0884 /src/libstore/build/local-derivation-goal.cc
parent869fb1a2f6b8374feacb5ed730e0a0f6cbb195c4 (diff)
libstore: also pass unwanted outputs to the post-build-hook
Diffstat (limited to 'src/libstore/build/local-derivation-goal.cc')
-rw-r--r--src/libstore/build/local-derivation-goal.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc
index 21cd6e7ee..2f545627b 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -2701,8 +2701,7 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs()
signRealisation(thisRealisation);
worker.store.registerDrvOutput(thisRealisation);
}
- if (wantedOutputs.contains(outputName))
- builtOutputs.emplace(outputName, thisRealisation);
+ builtOutputs.emplace(outputName, thisRealisation);
}
return builtOutputs;