diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-06-12T16·53+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-06-12T16·53+0000 |
commit | 6d1a1191b053645fa0277830524bf085a7fe0956 (patch) | |
tree | 53ad5f6484b612ace6b82224a86cbf95028ea350 /src/libstore/gc.cc | |
parent | 9d9e1c5c41023e03ed5069ba6fc17ad3cfeab9f4 (diff) |
* Support queryDeriver() in multi-user installations.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r-- | src/libstore/gc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 2ad52d8bf4ea..3699b234402f 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -482,7 +482,7 @@ void LocalStore::collectGarbage(GCAction action, const PathSet & pathsToDelete, /* Note that the deriver need not be valid (e.g., if we previously ran the collector with `gcKeepDerivations' turned off). */ - Path deriver = queryDeriver(noTxn, *i); + Path deriver = store->queryDeriver(*i); if (deriver != "" && store->isValidPath(deriver)) computeFSClosure(deriver, livePaths); } |