1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 09:31:16 +02:00

* Revert r13150: now that we use private namespaces for the chroot, we

don't have to put the chroot in /nix/var/nix/chroots anymore.
  They're back in /tmp now.
This commit is contained in:
Eelco Dolstra 2008-12-11 17:52:34 +00:00
parent 5a569509b4
commit 652817046b
4 changed files with 1 additions and 9 deletions

View file

@ -1657,7 +1657,7 @@ void DerivationGoal::startBuilder()
#if CHROOT_ENABLED
/* Create a temporary directory in which we set up the chroot
environment using bind-mounts. */
chrootRootDir = createTempDir(nixChrootsDir, "chroot-nix");
chrootRootDir = createTempDir("", "nix-chroot");
/* Clean up the chroot directory automatically. */
autoDelChroot = boost::shared_ptr<AutoDelete>(new AutoDelete(chrootRootDir));