aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-14 22:45:33 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-14 22:45:33 +0100
commit46a284263fe03bc81950586376b9be43d1b5c713 (patch)
treefdcebfec77287da10f4089d4674457b5f07a67b0 /src/nix/flake.cc
parent6208d24c383e95a50e873ed987643ffa329f9428 (diff)
Fix build
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 8945d8829..9c94c59fc 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -134,9 +134,9 @@ static void enumerateOutputs(EvalState & state, Value & vFlake,
auto aOutputs = vFlake.attrs->get(state.symbols.create("outputs"));
assert(aOutputs);
- state.forceAttrs(*(*aOutputs)->value);
+ state.forceAttrs(*aOutputs->value);
- for (auto & attr : *((*aOutputs)->value->attrs))
+ for (auto & attr : *aOutputs->value->attrs)
callback(attr.name, *attr.value, *attr.pos);
}