mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Remove unnecessary call to topoSortPaths()
exportPaths() already does this.
This commit is contained in:
parent
7a58ad0ef5
commit
ce4d8e3ef8
1 changed files with 1 additions and 3 deletions
|
@ -922,9 +922,7 @@ static void opServe(Strings opFlags, Strings opArgs)
|
|||
|
||||
case cmdExportPaths: {
|
||||
readInt(in); // obsolete
|
||||
Paths sorted = store->topoSortPaths(readStorePaths<PathSet>(*store, in));
|
||||
reverse(sorted.begin(), sorted.end());
|
||||
store->exportPaths(sorted, out);
|
||||
store->exportPaths(readStorePaths<Paths>(*store, in), out);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue