aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-15 14:38:10 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-15 14:38:10 +0200
commit5f64655ff429be08aa0787761697787e7050f373 (patch)
tree7e556119ceab59852e1392fd4112e83719b7bb8a /src/nix/run.cc
parent849d3968dbe8c18651e1a7fbf071fc3304257517 (diff)
Move registry-related commands from 'nix flake' to 'nix registry'
This makes 'nix flake' less cluttered and more consistent (it's only subcommands that operator on a flake). Also, the registry is not inherently flake-related (e.g. fetchTree could also use it to remap inputs).
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r--src/nix/run.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index f9b1298f1..2ab9d9ef4 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -108,7 +108,6 @@ struct CmdShell : InstallablesCommand, RunCommon, MixEnvironment
auto accessor = store->getFSAccessor();
-
std::unordered_set<StorePath> done;
std::queue<StorePath> todo;
for (auto & path : outPaths) todo.push(path.clone());