about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/local-store.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index c6357697c509..ab5b60132e3f 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1488,7 +1488,6 @@ void LocalStore::exportPath(const Path & path, bool sign,
 
     printMsg(lvlInfo, format("exporting path `%1%'") % path);
 
-    addTempRoot(path);
     if (!isValidPath(path))
         throw Error(format("path `%1%' is not valid") % path);