Work around clang bug
This commit is contained in:
parent
3c8b5b6219
commit
f899a7c6d7
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ struct CmdShowDerivation : InstallablesCommand
|
|||
|
||||
{
|
||||
auto outputsObj(drvObj.object("outputs"));
|
||||
for (auto & [outputName, output] : drv.outputs) {
|
||||
for (auto & [_outputName, output] : drv.outputs) {
|
||||
auto & outputName = _outputName; // work around clang bug
|
||||
auto outputObj { outputsObj.object(outputName) };
|
||||
std::visit(overloaded {
|
||||
[&](DerivationOutputInputAddressed doi) {
|
||||
|
|
Loading…
Reference in a new issue