mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
* Removed chroot support.
This commit is contained in:
parent
f23dcdd603
commit
215505bb46
4 changed files with 0 additions and 22 deletions
|
@ -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";
|
||||
|
|
|
@ -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@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue