* nix-install-package: don't pollute /nix/var/nix/manifests.

This commit is contained in:
Eelco Dolstra 2009-02-27 14:06:38 +00:00
parent d4ca5c3952
commit 1273d355ac
3 changed files with 11 additions and 11 deletions

View file

@ -123,6 +123,11 @@ if ($interactive) {
}
# Store the manifest in the temporary directory so that we don't
# pollute /nix/var/nix/manifests.
$ENV{NIX_MANIFESTS_DIR} = $tmpDir;
print "\nPulling manifests...\n";
system("$binDir/nix-pull", $manifestURL) == 0
or barf "nix-pull failed: $?";