about summary refs log tree commit diff
path: root/scripts/nix-pull.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-16T17·52+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-16T17·52+0200
commit8cf1719e3e02998c0d22ed9e505a4a98e3335627 (patch)
tree1a6ad00d9b395aa2645b0c5fd090baaaac6be02c /scripts/nix-pull.in
parent1132dd27eaf6b32937f1e0508c84d08f5ae90470 (diff)
Hack to prevent accumulation of old manifests
Diffstat (limited to 'scripts/nix-pull.in')
-rwxr-xr-xscripts/nix-pull.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index 084197c48a1c..8d5db2f57c68 100755
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -72,7 +72,7 @@ sub processURL {
 
     my $urlFile = "$manifestDir/$baseName-$hash.url";
     open URL, ">$urlFile" or die "cannot create `$urlFile'";
-    print URL "$url";
+    print URL ($ENV{'NIX_ORIG_URL'} || $url);
     close URL;
     
     my $finalPath = "$manifestDir/$baseName-$hash.nixmanifest";