diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc index 71fa81546..778ee4709 100644 --- a/src/libstore/misc.cc +++ b/src/libstore/misc.cc @@ -115,16 +115,16 @@ std::optional getDerivationCA(const BasicDerivation & drv) return std::nullopt; if (auto dof = std::get_if(&out->second.output)) { return std::visit(overloaded { - [&](TextInfo ti) -> std::optional { - if (!ti.references.empty()) - return std::nullopt; - return static_cast(ti); - }, - [&](FixedOutputInfo fi) -> std::optional { - if (fi.references != PathReferences {}) - return std::nullopt; - return static_cast(fi); - }, + [&](TextInfo ti) -> std::optional { + if (!ti.references.empty()) + return std::nullopt; + return static_cast(ti); + }, + [&](FixedOutputInfo fi) -> std::optional { + if (fi.references != PathReferences {}) + return std::nullopt; + return static_cast(fi); + }, }, dof->ca); } return std::nullopt;