aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-04-19 14:23:35 +0200
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-04-19 14:23:35 +0200
commite51abb6631ff0f5fc52523ea1819333cb587170c (patch)
tree72d7a845b80348a0e7bccd22b2c9a5c62405d35e /src/nix
parent160ce18a0e9f569f94e6b0cb8e47bd4008a9fea2 (diff)
Changed some names
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/flake.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 34d67ee58..07e9e313a 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -86,20 +86,20 @@ struct CmdFlakeDeps : FlakeCommand, MixJSON, StoreCommand, MixEvalArgs
FlakeRef flakeRef(flakeUri);
- Dependencies deps = resolveFlake(*evalState, flakeRef, AllowRegistryAtTop);
+ ResolvedFlake resFlake = resolveFlake(*evalState, flakeRef, AllowRegistryAtTop);
- std::queue<Dependencies> todo;
- todo.push(deps);
+ std::queue<ResolvedFlake> todo;
+ todo.push(resFlake);
while (!todo.empty()) {
- deps = todo.front();
+ resFlake = todo.front();
todo.pop();
- for (auto & nonFlake : deps.nonFlakeDeps)
+ for (NonFlake & nonFlake : resFlake.nonFlakeDeps)
printNonFlakeInfo(nonFlake, json);
- for (auto & newDeps : deps.flakeDeps)
- todo.push(newDeps);
+ for (ResolvedFlake & newResFlake : resFlake.flakeDeps)
+ todo.push(newResFlake);
}
}
};