1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-12 19:05:08 +02:00

prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts.

This commit is contained in:
Armijn Hemel 2006-08-05 00:31:04 +00:00
parent 1854f84e83
commit f1947cce93
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,7 @@ 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;