aboutsummaryrefslogtreecommitdiff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-12-11 17:52:34 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-12-11 17:52:34 +0000
commit652817046b2f999e29de8109fce9c61b5b18d22c (patch)
treeae071f7ffbadc587519b181d2e9b36c1be848f01 /src/libmain
parent5a569509b491d43bfcb5c72e85a6d7374a583228 (diff)
* 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.
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index dee9a5320..cfb34d7eb 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -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") {