1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Hack to prevent accumulation of old manifests

This commit is contained in:
Eelco Dolstra 2012-04-16 19:52:31 +02:00
parent 1132dd27ea
commit 8cf1719e3e
2 changed files with 3 additions and 1 deletions

View file

@ -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";