about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-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) {
         }