nixpkgs/pkgs/applications/networking/browsers/chromium
aszlig 28b289efa6
chromium: Refactor updater entirely in Nix
The update.sh shell script now is only a call to nix-build, which does
all the hard work of updating the Chromium source channels and the
plugins. It results in a store path with the new sources.nix that
replaces the already existing sources.nix.

Along the way, this has led to a quite massive workaround, which abuses
MD5 collisions to detect whether an URL is existing, because something
like builtins.tryEval (builtins.fetchurl url) unfortunately doesn't
work. Further explanations and implementation details are documented in
the actual implementation.

The drawback of this is that we don't have nice status messages anymore,
but on the upside we have a more robust generation of the sources.nix
file, which now also should work properly on missing upstream
sources/binaries.

This also makes it much easier to implement fetching non-GNU/Linux
versions of Chromium and we have all values from omahaproxy available as
an attribute set (see the csv2nix and channels attributes in the update
attribute).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-02-26 20:55:17 +01:00
..
source chromium: Refactor updater entirely in Nix 2016-02-26 20:55:17 +01:00
browser.nix chromium: Remove myself from maintainers 2016-01-18 03:35:28 +01:00
common.nix Chromium updates 2015-12-29 19:32:38 +01:00
default.nix chromium: Remove import-from-derivation again 2016-02-02 17:39:08 +01:00
plugins.nix chromium/plugins: use jshon for extracting the Flash version from JSON 2016-02-19 12:31:08 +01:00
update.sh chromium: Refactor updater entirely in Nix 2016-02-26 20:55:17 +01:00