* Disable binary patch generation, our poor server can't handle it.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@22974 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
parent
4deaf50ae6
commit
412010e2dc
1 changed files with 4 additions and 3 deletions
|
@ -90,11 +90,12 @@ while (my ($storePath, $files) = each %narFiles) {
|
||||||
writeManifest("$dstChannelPath/MANIFEST.tmp", \%narFiles, \%patches);
|
writeManifest("$dstChannelPath/MANIFEST.tmp", \%narFiles, \%patches);
|
||||||
|
|
||||||
# Generate patches.
|
# Generate patches.
|
||||||
if (-e "$dstChannelPath/MANIFEST.tmp") {
|
if (0 && -e "$dstChannelPath/MANIFEST.tmp") {
|
||||||
system("perl -I /home/buildfarm/nix/scripts /home/buildfarm/nix/scripts/generate-patches.pl $narPath $patchesPath $patchesURL $dstChannelPath/MANIFEST $dstChannelPath/MANIFEST.tmp") == 0 or die;
|
system("perl -I /home/buildfarm/nix/scripts /home/buildfarm/nix/scripts/generate-patches.pl $narPath $patchesPath $patchesURL $dstChannelPath/MANIFEST $dstChannelPath/MANIFEST.tmp") == 0 or die;
|
||||||
|
}
|
||||||
|
|
||||||
rename("$dstChannelPath/MANIFEST.tmp", "$dstChannelPath/MANIFEST") or die;
|
rename("$dstChannelPath/MANIFEST.tmp", "$dstChannelPath/MANIFEST") or die;
|
||||||
rename("$dstChannelPath/MANIFEST.tmp.bz2", "$dstChannelPath/MANIFEST.bz2") or die;
|
rename("$dstChannelPath/MANIFEST.tmp.bz2", "$dstChannelPath/MANIFEST.bz2") or die;
|
||||||
}
|
|
||||||
|
|
||||||
# Mirror nixexprs.tar.bz2.
|
# Mirror nixexprs.tar.bz2.
|
||||||
my $tmpFile = "$dstChannelPath/.tmp.$$.nixexprs.tar.bz2";
|
my $tmpFile = "$dstChannelPath/.tmp.$$.nixexprs.tar.bz2";
|
||||||
|
|
Loading…
Reference in a new issue