nixpkgs/pkgs/applications/networking/browsers
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
..
arora Arora: version bump 2010-10-15 23:43:21 +00:00
chromium chromium: Split up the source tarball on the fly. 2015-02-22 07:52:53 +01:00
conkeror conkeror: upgrade to 141017 and use firefox for xulrunner 2014-10-22 18:08:46 +02:00
dillo Small style fixups 2014-09-10 21:34:50 -03:00
dwb dwb: switch to a maintained fork 2014-12-15 15:57:33 +01:00
elinks Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
firefox firefox: Update from 35.0 -> 35.0.1 2015-01-27 04:39:45 +01:00
firefox-bin Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae' 2015-02-02 21:14:28 -05:00
jumanji New package: jumanji-20140622 2015-01-18 23:44:18 +03:00
kwebkitpart kde: fix CVE-2014-8600 by upstream patches 2014-12-10 19:38:50 +01:00
links change md5sum to sha256sum for a few packages 2014-10-12 16:13:21 +02:00
links2 links2: update from 2.5 to 2.8 2014-02-24 22:04:40 +01:00
luakit Fix luakit description 2015-02-06 14:50:39 +01:00
lynx lynx: update from 2.8.7 to 2.8.8 2014-05-22 12:57:17 +02:00
midori Midori now depends on sqlite 2015-01-06 22:36:17 +03:00
mozilla * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
mozilla-plugins flashplayer: Minor security update to 11.2.202.442 2015-02-07 11:04:48 +11:00
netsurf *: fix builds by disregarding warning from new glibc 2014-11-28 18:42:03 +01:00
opera rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc 2015-01-14 20:27:55 -08:00
rekonq rekonq: update to rekonq-2.4.2 and add wrapper 2014-11-26 22:11:50 +01:00
uzbl uzbl: Add gsettings_desktop_schemas as build input. Closes #2332 2014-05-12 10:32:46 +02:00
vimb vimb: Update from 2.8 to 2.9 2015-02-13 15:06:46 +01:00
vimprobable2 Merge pull request #2075 from iyzsong/webkit 2014-04-18 10:10:29 -07:00
w3m transformed meta.maintainers of some packages into lists 2014-09-13 13:52:02 +02:00