diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/download-using-manifests.pl.in | 2 | ||||
-rw-r--r-- | scripts/nix-prefetch-url.in | 3 |
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@ |