about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-01-13T17·54+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-01-13T17·54+0000
commit215505bb46503b083fd64dd9a65e7b79d6eadf21 (patch)
tree022a0fa8297bdd263033eff83b95c4d5cf84ff7e /scripts
parentf23dcdd60330c3b2f83b5b4278e38c245c397468 (diff)
* Removed chroot support.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/download-using-manifests.pl.in2
-rw-r--r--scripts/nix-prefetch-url.in3
2 files changed, 0 insertions, 5 deletions
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in
index c5400a901af2..2ef98e3466b1 100644
--- a/scripts/download-using-manifests.pl.in
+++ b/scripts/download-using-manifests.pl.in
@@ -10,8 +10,6 @@ my $logFile = "@localstatedir@/log/nix/downloads";
 
 open LOGFILE, ">>$logFile" or die "cannot open log file $logFile";
 
-delete $ENV{"NIX_ROOT"};
-
 # Create a temporary directory.
 my $tmpDir = tempdir("nix-download.XXXXXX", CLEANUP => 1, TMPDIR => 1)
     or die "cannot create a temporary directory";
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index 4c18899da7a0..0f1c95c7e828 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -3,9 +3,6 @@
 url=$1
 expHash=$2
 
-# to prevent doing more than 1 chroot
-unset NIX_ROOT
-
 # needed to make it work on NixOS
 export PATH=$PATH:@coreutils@