* 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

@ -138,7 +138,6 @@ static void initAndRun(int argc, char * * argv)
nixConfDir = canonPath(getEnv("NIX_CONF_DIR", NIX_CONF_DIR));
nixLibexecDir = canonPath(getEnv("NIX_LIBEXEC_DIR", NIX_LIBEXEC_DIR));
nixBinDir = canonPath(getEnv("NIX_BIN_DIR", NIX_BIN_DIR));
nixChrootsDir = canonPath(getEnv("NIX_CHROOTS_DIR", nixStateDir + "/chroots"));
string subs = getEnv("NIX_SUBSTITUTERS", "default");
if (subs == "default") {