about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/build.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 2e3a2221857e..0b00647046f8 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -766,9 +766,6 @@ private:
     /* RAII object to delete the chroot directory. */
     std::shared_ptr<AutoDelete> autoDelChroot;
 
-    /* All inputs that are regular files. */
-    PathSet regularInputPaths;
-
     /* Whether this is a fixed-output derivation. */
     bool fixedOutput;
 
@@ -1998,8 +1995,6 @@ void DerivationGoal::startBuilder()
                     StringSource source(sink.s);
                     restorePath(p, source);
                 }
-
-                regularInputPaths.insert(i);
             }
         }