Skip to content

Commit

Permalink
Merge pull request #9351 from Trundle/update-chroot-store-comment
Browse files Browse the repository at this point in the history
Update comment to reflect bind mounts are now used for store in chroot
  • Loading branch information
thufschmitt authored Nov 14, 2023
2 parents 2afe2e4 + ad99c89 commit c889881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstore/build/local-derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ void LocalDerivationGoal::startBuilder()
#if __linux__
/* Create a temporary directory in which we set up the chroot
environment using bind-mounts. We put it in the Nix store
to ensure that we can create hard-links to non-directory
inputs in the fake Nix store in the chroot (see below). */
so that the build outputs can be moved efficiently from the
chroot to their final location. */
chrootRootDir = worker.store.Store::toRealPath(drvPath) + ".chroot";
deletePath(chrootRootDir);

Expand Down

0 comments on commit c889881

Please sign in to comment.