Skip to content

Commit

Permalink
Merge pull request #8399 from tweag/fix-chrooted-stores-error-path
Browse files Browse the repository at this point in the history
Properly report build errors on chrooted stores
  • Loading branch information
edolstra authored May 27, 2023
2 parents 940e9eb + d16a199 commit 61ddfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build/local-derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ bool LocalDerivationGoal::cleanupDecideWhetherDiskFull()
for (auto & [_, status] : initialOutputs) {
if (!status.known) continue;
if (buildMode != bmCheck && status.known->isValid()) continue;
auto p = worker.store.printStorePath(status.known->path);
auto p = worker.store.toRealPath(status.known->path);
if (pathExists(chrootRootDir + p))
renameFile((chrootRootDir + p), p);
}
Expand Down

0 comments on commit 61ddfa1

Please sign in to comment.