Revert "libstore: fix scratch output cleanup"
This reverts commit a0a00948df
because this was insufficient to fix the critical correctness bugs.
Change-Id: I6c7b560ebeebacbbbcc1cbf26e6ef50c38b84f7f
This commit is contained in:
@@ -521,9 +521,7 @@ try {
|
||||
/* Schedule this scratch output path for automatic deletion
|
||||
* if we do not cancel it, e.g. when registering the outputs.
|
||||
*/
|
||||
scratchOutputsCleaner.emplace(
|
||||
outputName, worker.store.toRealPath(worker.store.printStorePath(scratchPath))
|
||||
);
|
||||
scratchOutputsCleaner.emplace(outputName, worker.store.printStorePath(scratchPath));
|
||||
|
||||
/* Substitute output placeholders with the scratch output paths.
|
||||
We'll use during the build. */
|
||||
|
||||
Reference in New Issue
Block a user