diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-14 22:45:33 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-14 22:45:33 +0100 |
commit | 46a284263fe03bc81950586376b9be43d1b5c713 (patch) | |
tree | fdcebfec77287da10f4089d4674457b5f07a67b0 /src/nix/flake.cc | |
parent | 6208d24c383e95a50e873ed987643ffa329f9428 (diff) |
Fix build
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r-- | src/nix/flake.cc | 4 |
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); } |