summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/libstore/local-store.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/nix/libstore/local-store.cc b/nix/libstore/local-store.cc
index c6357697c5..ab5b60132e 100644
--- a/nix/libstore/local-store.cc
+++ b/nix/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);