aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-05-14 11:34:45 +0200
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-05-17 14:50:10 +0200
commitef6ae61503bed7afa73a45ca6a4fb3597a9e514d (patch)
treeedf2dfcbf924ebddc1e06302c6c20f310d313b58 /src/nix/flake.cc
parent98f20dee41e9d4dccb5a6bbbd956ab856c5f7929 (diff)
Lockfile handling in `resolveFlake` is fixed
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 fc0fc76b4..bfb3178ad 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -126,8 +126,8 @@ struct CmdFlakeDeps : FlakeCommand, MixJSON, StoreCommand, MixEvalArgs
for (NonFlake & nonFlake : resFlake.nonFlakeDeps)
printNonFlakeInfo(nonFlake, json);
- for (ResolvedFlake & newResFlake : resFlake.flakeDeps)
- todo.push(newResFlake);
+ for (auto info : resFlake.flakeDeps)
+ todo.push(info.second);
}
}
};