Remove prevInfos as its dead code

It is unused since 8e0946e8df removed
support for the repeat and enforce-determinism options.
This commit is contained in:
John Ericson 2023-10-16 01:17:33 -04:00
parent 4d17c59d8d
commit 3e6b9f9357

View file

@ -120,14 +120,6 @@ struct LocalDerivationGoal : public DerivationGoal
*/ */
OutputPathMap scratchOutputs; OutputPathMap scratchOutputs;
/**
* Path registration info from the previous round, if we're
* building multiple times. Since this contains the hash, it
* allows us to compare whether two rounds produced the same
* result.
*/
std::map<Path, ValidPathInfo> prevInfos;
uid_t sandboxUid() { return usingUserNamespace ? (!buildUser || buildUser->getUIDCount() == 1 ? 1000 : 0) : buildUser->getUID(); } uid_t sandboxUid() { return usingUserNamespace ? (!buildUser || buildUser->getUIDCount() == 1 ? 1000 : 0) : buildUser->getUID(); }
gid_t sandboxGid() { return usingUserNamespace ? (!buildUser || buildUser->getUIDCount() == 1 ? 100 : 0) : buildUser->getGID(); } gid_t sandboxGid() { return usingUserNamespace ? (!buildUser || buildUser->getUIDCount() == 1 ? 100 : 0) : buildUser->getGID(); }