Skip to content

Commit 61ddfa1

Browse files
authored
Merge pull request #8399 from tweag/fix-chrooted-stores-error-path
Properly report build errors on chrooted stores
2 parents 940e9eb + d16a199 commit 61ddfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/build/local-derivation-goal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ bool LocalDerivationGoal::cleanupDecideWhetherDiskFull()
357357
for (auto & [_, status] : initialOutputs) {
358358
if (!status.known) continue;
359359
if (buildMode != bmCheck && status.known->isValid()) continue;
360-
auto p = worker.store.printStorePath(status.known->path);
360+
auto p = worker.store.toRealPath(status.known->path);
361361
if (pathExists(chrootRootDir + p))
362362
renameFile((chrootRootDir + p), p);
363363
}

0 commit comments

Comments
 (0)