* Removed chroot support.
This commit is contained in:
parent
f23dcdd603
commit
215505bb46
4 changed files with 0 additions and 22 deletions
|
@ -85,12 +85,6 @@ void initDerivationsHelpers();
|
|||
processor. */
|
||||
static void initAndRun(int argc, char * * argv)
|
||||
{
|
||||
string root = getEnv("NIX_ROOT");
|
||||
if (root != "") {
|
||||
if (chroot(root.c_str()) != 0)
|
||||
throw SysError(format("changing root to `%1%'") % root);
|
||||
}
|
||||
|
||||
/* Setup Nix paths. */
|
||||
nixStore = canonPath(getEnv("NIX_STORE_DIR", getEnv("NIX_STORE", NIX_STORE_DIR)));
|
||||
nixDataDir = canonPath(getEnv("NIX_DATA_DIR", NIX_DATA_DIR));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue