Skip to content

Commit

Permalink
Update comment to reflect bind mounts are now used for store in chroot
Browse files Browse the repository at this point in the history
  • Loading branch information
Trundle committed Nov 13, 2023
1 parent 2afe2e4 commit ad99c89
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 ad99c89

Please sign in to comment.