mirror of
https://github.com/NixOS/nix.git
synced 2025-12-24 09:50:55 +01:00
Make nix-collect-garbage use the trace socket
This commit is contained in:
parent
63159dd672
commit
9a3c3cb748
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
|
|||
printInfo("finding garbage collector roots...");
|
||||
Roots rootMap;
|
||||
if (!options.ignoreLiveness)
|
||||
findRootsNoTemp(rootMap, true);
|
||||
rootMap = findRoots(true);
|
||||
|
||||
for (auto & i : rootMap) roots.insert(i.first);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue