nixpkgs/pkgs/applications
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
..
altcoins merge #5333: altcoins: a new category of applications 2015-02-19 23:36:41 +01:00
audio lmms: update from 1.1.0 to 1.1.2 2015-02-20 10:39:47 +01:00
backup/crashplan crashplan: install desktop file 2014-12-19 23:26:35 +01:00
display-managers fix sha for a slim's theme 2014-11-08 22:40:36 +03:00
editors emacs24Macport: upgrade Macport patch to 5.1 -> 5.3 2015-02-21 03:38:07 -06:00
gis qgis: update from 2.4.0 to 2.6.1 2015-01-19 16:18:01 +01:00
graphics mcomix: update to 1.01 2015-02-09 12:16:38 +00:00
inferno rename <gcc-frontend>.gcc to <gcc-frontend>.cc 2015-01-14 20:59:10 -08:00
kde-apps-14.12 update various packages to use Qt 5.4 2015-02-21 11:39:20 -06:00
misc calibre: update from 2.19.0 to 2.20.0 2015-02-20 13:08:47 +01:00
networking chromium: Split up the source tarball on the fly. 2015-02-22 07:52:53 +01:00
office zotero: update to 4.0.26 2015-02-21 18:38:32 -06:00
science Merge pull request #6338 from DamienCassou/plm-2.5 2015-02-20 09:17:27 +01:00
search kill libiconvOr* 2015-02-07 20:29:28 -08:00
taxes Change occurrences of gcc to the more general cc 2014-12-26 11:06:21 -06:00
version-management gitlab: fix checksum 2015-02-18 19:25:13 +03:00
video update various packages to use Qt 5.4 2015-02-21 11:39:20 -06:00
virtualization bridge-utils: align attrname with pkgname 2015-02-20 22:30:51 +01:00
window-managers weston: Update to 1.7.0 2015-02-19 10:13:44 -08:00