diff options
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r-- | src/nix/command.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc index 96b685a5b2eb..6b608a708eea 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -115,7 +115,7 @@ void StorePathsCommand::run(ref<Store> store) } else { - for (auto & p : buildInstallables(store, false)) + for (auto & p : toStorePaths(store, NoBuild)) storePaths.push_back(p); if (recursive) { @@ -131,7 +131,7 @@ void StorePathsCommand::run(ref<Store> store) void StorePathCommand::run(ref<Store> store) { - auto storePaths = buildInstallables(store, false); + auto storePaths = toStorePaths(store, NoBuild); if (storePaths.size() != 1) throw UsageError("this command requires exactly one store path"); |