nixpkgs/pkgs/applications/networking
aszlig c92dbffeac
chromium: Split up the source tarball on the fly.
So far we've done the source code split up by using the generic
unpackPhase and copying it all over into the different outputs.

However, this had the problem of generating the I/O load of about three
times the size of the source tree: First at fetchurl of the tarball
(although it's not as much because it's compressed), second at
unpackPhase and third at installPhase.

Now we don't use installPhase anymore and directly unpack into the
output paths, which unfortunately becomes quite a bit more complex
because we need to transform the paths of the tar file on the fly.

I've also tried using GNU Tar's --to-command option to even untar *and*
patch it at the same time, but forking for every single file in the
tarball gets REALLY slow and also gets even more complex than this two
stage approach because you need to make sure that the patch file is
applied correctly, for example for files that don't yet exist but are to
be created by the patch file.

We're using --anchored and --no-wildcards-match-slash here to prevent
accidentally excluding files we don't want to exclude. One example is
something like v8/tools/gyp/v8.gyp.

So the current approach is some compromise between complexity and speed
and should hopefully get rid of the Hydra build timeouts by lowering I/O
load.

See here for examples of builds having this issue:

http://hydra.nixos.org/build/19045023
http://hydra.nixos.org/build/19044973
http://hydra.nixos.org/build/19044968
http://hydra.nixos.org/build/19045019

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-02-22 07:52:53 +01:00
..
bittorrentsync nixpkgs: btsync 1.4.103 -> 1.4.106 2015-01-08 02:51:34 -06:00
browsers chromium: Split up the source tarball on the fly. 2015-02-22 07:52:53 +01:00
cluster Merge pull request #6452 from rushmorem/update-chronos-port 2015-02-19 14:13:00 +01:00
copy-com rename occurrences of gcc.gcc to gcc.cc 2015-01-14 20:47:49 -08:00
davmail
dropbox dropbox: update to version 3.2.6 2015-02-21 18:17:04 -06:00
dropbox-cli
enhanced-ctorrent enhanced-ctorrent: Add package 2015-01-13 00:38:06 -08:00
esniper
feedreaders Merge remote-tracking branch 'master' into staging. 2015-02-13 22:17:12 +01:00
ftp/filezilla
google-drive-ocamlfuse google-drive-ocamlfuse: new expression 2015-01-25 22:10:09 +01:00
ids bro: update from 2.3.1 to 2.3.2 2015-02-09 12:20:10 +01:00
ike rename occurrences of gcc.gcc to gcc.cc 2015-01-14 20:47:49 -08:00
instant-messengers Update silc-client to 1.1.11 2015-02-19 19:31:29 +01:00
iptraf
irc update various packages to use Qt 5.4 2015-02-21 11:39:20 -06:00
jmeter
linssid
mailreaders Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae' 2015-02-02 21:14:28 -05:00
msmtp Update msmtp to 1.6.1 2015-01-09 18:13:45 +01:00
mumble mumble: add pulseaudio support 2015-01-10 23:36:42 +03:00
netperf
newsreaders liferea: minor update 2015-01-13 19:48:27 +01:00
notbit notbit: Update git 2015-02-11 15:23:31 -08:00
offrss
owncloud-client owncloud: update to 1.7.1 2015-02-02 18:28:55 +01:00
p2p Merge remote-tracking branch 'origin/staging' 2015-02-17 13:52:37 -05:00
pjsip
pond Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
remote Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae' 2015-02-02 21:14:28 -05:00
seafile-client seafile: update client, ccnet, libsearpc and shared 2015-01-09 13:37:44 +01:00
siproxd
sniffers wireshark: update 1.12.2 -> 1.12.3 (security update) 2015-01-08 19:43:50 +01:00
spideroak
sync unison: sha correction 2015-02-17 12:35:29 +01:00
syncthing syncthing: Update to 0.10.22 2015-02-09 17:55:18 -06:00
umurmur umurmur: Add meta platforms 2015-02-06 13:15:23 -08:00
vnstat Update vnstat 1.11 -> 1.13 2015-01-19 17:10:57 +01:00
yafc
znc ZNC: added "privmsg" module. 2015-01-16 18:45:03 +00:00