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:
Raito Bezarius
2025-06-29 21:26:11 +02:00
parent a60c1de715
commit 13e46d3d00
+1 -3
View File
@@ -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. */