about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc
index c8d91737d8be..253c9686ba75 100644
--- a/src/nix/command.cc
+++ b/src/nix/command.cc
@@ -108,7 +108,7 @@ void StorePathsCommand::run(ref<Store> store)
             PathSet closure;
             for (auto & storePath : storePaths)
                 store->computeFSClosure(storePath, closure, false, false);
-            storePaths = store->topoSortPaths(closure);
+            storePaths = Paths(closure.begin(), closure.end());
         }
     }