chromium: Allow config.chromium for PPAPI plugins.

This should make it easier to enable proprietary pepper API plugins
though nixpkgs config, so it can be easily installed using something
like:

nix-env -i chromium-stable

With something like:

{ chromium.enablePepperFlash = true; }

In ~/.nixpkgs/config.nix to enable pepper API based Flash and to avoid
the browser wrapper from Firefox entirely.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-05-08 16:41:38 +02:00
parent 141d1a1253
commit c833d7ce16
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -7886,6 +7886,8 @@ let
chromium = lowPrio (callPackage ../applications/networking/browsers/chromium {
channel = "stable";
pulseSupport = config.pulseaudio or true;
enablePepperFlash = config.chromium.enablePepperFlash or false;
enablePepperPDF = config.chromium.enablePepperPDF or false;
});
chromiumBeta = lowPrio (chromium.override { channel = "beta"; });