Don't expose the "bang" drvoutput syntax

It's not fixed nor useful atm, so better keep it hidden

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
Théophane Hufschmitt 2021-02-04 11:13:38 +01:00
parent 93d9eb78a0
commit 0bfbd04369

View file

@ -757,9 +757,9 @@ std::optional<BasicDerivation> Derivation::tryResolveUncached(Store & store) {
for (auto & outputName : input.second) { for (auto & outputName : input.second) {
auto actualPathOpt = inputDrvOutputs.at(outputName); auto actualPathOpt = inputDrvOutputs.at(outputName);
if (!actualPathOpt) { if (!actualPathOpt) {
warn("Input %s!%s missing, aborting the resolving", warn("output %s of input %s missing, aborting the resolving",
store.printStorePath(input.first), outputName,
outputName store.printStorePath(input.first)
); );
return std::nullopt; return std::nullopt;
} }