diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-06-04 20:08:13 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-06-04 20:08:13 +0200 |
commit | 5fe7be2409966d673d59d049c3fc6e7710d03b53 (patch) | |
tree | fe20880f626a4ede64c6aa0e2067d422c7abd266 /src/nix | |
parent | 9e99b5205c4035753106448241ae44e7447f019c (diff) |
Rename dep -> input
Also use nlohmann::json range-based for.
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/installables.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index c44a37f1e..e7549b57c 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -206,11 +206,11 @@ void makeFlakeClosureGCRoot(Store & store, queue.pop(); /* Note: due to lazy fetching, these paths might not exist yet. */ - for (auto & dep : flake.flakeDeps) { + for (auto & dep : flake.flakeInputs) { closure.insert(dep.second.computeStorePath(store)); queue.push(dep.second); } - for (auto & dep : flake.nonFlakeDeps) + for (auto & dep : flake.nonFlakeInputs) closure.insert(dep.second.computeStorePath(store)); } |