Author: eelco
Date: Thu Aug  5 20:17:17 2010
New Revision: 22974
URL: https://svn.nixos.org/websvn/nix/?rev=22974&sc=1

Log:
* Disable binary patch generation, our poor server can't handle it.

Modified:
   release/trunk/channels/mirror-channel.pl

Modified: release/trunk/channels/mirror-channel.pl
==============================================================================
--- release/trunk/channels/mirror-channel.pl    Thu Aug  5 18:51:12 2010        
(r22973)
+++ release/trunk/channels/mirror-channel.pl    Thu Aug  5 20:17:17 2010        
(r22974)
@@ -90,12 +90,13 @@
 writeManifest("$dstChannelPath/MANIFEST.tmp", \%narFiles, \%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;
-    rename("$dstChannelPath/MANIFEST.tmp", "$dstChannelPath/MANIFEST") or die;
-    rename("$dstChannelPath/MANIFEST.tmp.bz2", "$dstChannelPath/MANIFEST.bz2") 
or die;
 }
 
+rename("$dstChannelPath/MANIFEST.tmp", "$dstChannelPath/MANIFEST") or die;
+rename("$dstChannelPath/MANIFEST.tmp.bz2", "$dstChannelPath/MANIFEST.bz2") or 
die;
+
 # Mirror nixexprs.tar.bz2.
 my $tmpFile = "$dstChannelPath/.tmp.$$.nixexprs.tar.bz2";
 system("$curl '$nixexprsURL' > $tmpFile") == 0 or die "cannot download 
`$nixexprsURL'";
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to