aboutsummaryrefslogtreecommitdiff
path: root/scripts/download-using-manifests.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-02-27 14:06:38 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-02-27 14:06:38 +0000
commit1273d355ac91f502654aba0df07068d330064e83 (patch)
treecdd5c9bdc5c2f5aa4dc562eafe0edac8f6824fe5 /scripts/download-using-manifests.pl.in
parentd4ca5c395290da9a517df99dfbb79d2186930c83 (diff)
* nix-install-package: don't pollute /nix/var/nix/manifests.
Diffstat (limited to 'scripts/download-using-manifests.pl.in')
-rw-r--r--scripts/download-using-manifests.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in
index 6246ed3f6..20c01db3c 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";