nixpkgs/pkgs
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
..
applications chromium: Split up the source tarball on the fly. 2015-02-22 07:52:53 +01:00
build-support autonix: tweak manifest format 2015-02-21 11:39:18 -06:00
data add media-player-info 2015-02-21 11:39:19 -06:00
desktops update various packages to use Qt 5.4 2015-02-21 11:39:20 -06:00
development Merge pull request #6487 from ftrvxmtrx/openal-soft-1.16.0 2015-02-22 00:25:55 +03:00
games
misc hplip: update to 3.15.2 2015-02-21 20:19:21 -06:00
os-specific nvidia_x11: reintroduce libXv for nvidia-settings 2015-02-21 17:28:02 +01:00
servers Merge pull request #6489 from benley/mesos-dns 2015-02-22 00:26:20 +03:00
shells Fish wants libiconv too, even though it won't admit it 2015-02-18 01:14:36 -05:00
stdenv Bootstrap tools for the upcoming new darwin stdenv (not working yet in this stdenv, but will soon) 2015-02-18 00:24:34 -05:00
test
tools Merge pull request #6502 from ehmry/makebootfat 2015-02-22 01:17:38 +03:00
top-level gcc-arm-embedded: Update to 4.9-2014q4. 2015-02-21 23:48:58 +01:00