diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 2e3a22218..0b0064704 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 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); } }