Skip to content

Commit

Permalink
Merge pull request #11482 from NixOS/mergify/bp/2.22-maintenance/pr-1…
Browse files Browse the repository at this point in the history
…1473

Fix making the build directory kept by `keep-failed` readable (backport #11473)
  • Loading branch information
roberth authored Sep 16, 2024
2 parents 87e0c22 + 8aa13b2 commit e67d6b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstore/unix/build/local-derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2976,6 +2976,7 @@ void LocalDerivationGoal::deleteTmpDir(bool force)
might have privileged stuff (like a copy of netrc). */
if (settings.keepFailed && !force && !drv->isBuiltin()) {
printError("note: keeping build directory '%s'", tmpDir);
chmod(topTmpDir.c_str(), 0755);
chmod(tmpDir.c_str(), 0755);
}
else
Expand Down

0 comments on commit e67d6b6

Please sign in to comment.