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:
parent
5a569509b4
commit
652817046b
4 changed files with 1 additions and 9 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue