mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 01:02:34 +00:00
* Drop unnecessary call to canonPath() (nixStore is already canonical).
This commit is contained in:
parent
66c99b0cf5
commit
58d974336c
@ -634,7 +634,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
|
||||
|
||||
try {
|
||||
foreach (vector<Path>::iterator, i, entries_)
|
||||
tryToDelete(state, canonPath(nixStore + "/" + *i));
|
||||
tryToDelete(state, nixStore + "/" + *i);
|
||||
} catch (GCLimitReached & e) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user