about summary refs log tree commit diff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-12-22T16·27+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-12-22T16·27+0000
commit524fa8a4f11826fdf22005f3304366856f72ffa5 (patch)
tree3d8740cc439f72fed71c628ce53da6006881e406 /src/libstore/gc.cc
parentb33da599c5c1b06a32a3eeac58f95481d10f821d (diff)
* Oops.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r--src/libstore/gc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index 20f194e6e2a7..feaab573ef30 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -657,7 +657,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
             random_shuffle(entries_.begin(), entries_.end());
 
             foreach (vector<Path>::iterator, i, entries_)
-                tryToDelete(state, nixStore + "/" + *i);
+                tryToDelete(state, *i);
 
         } catch (GCLimitReached & e) {
         }