From 1273d355ac91f502654aba0df07068d330064e83 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 27 Feb 2009 14:06:38 +0000 Subject: * nix-install-package: don't pollute /nix/var/nix/manifests. --- scripts/download-using-manifests.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/download-using-manifests.pl.in') diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in index 6246ed3f62d5..20c01db3cfca 100644 --- a/scripts/download-using-manifests.pl.in +++ b/scripts/download-using-manifests.pl.in @@ -9,7 +9,7 @@ my $binDir = $ENV{"NIX_BIN_DIR"} || "@bindir@"; STDOUT->autoflush(1); -my $manifestDir = "@localstatedir@/nix/manifests"; +my $manifestDir = ($ENV{"NIX_MANIFESTS_DIR"} or "@localstatedir@/nix/manifests"); my $logFile = "@localstatedir@/log/nix/downloads"; -- cgit 1.4.1