chromium+chrome: Don't import update.nix directly

Regression introduced by f28b71023c.

Let's now expose and use the upstream-info attribute via the main
Chromium derivation, so that other packages like the google-chrome
package doesn't need to rely on internals of the Chromium
implementation.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-05-04 23:12:33 +02:00
parent f28b71023c
commit 3f7735fe65
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961
2 changed files with 4 additions and 3 deletions

View File

@ -84,6 +84,7 @@ in stdenv.mkDerivation {
inherit (chromium.browser) meta packageName;
passthru = {
inherit (chromium) upstream-info;
mkDerivation = chromium.mkChromiumDerivation;
};
}

View File

@ -26,13 +26,13 @@
# Necessary for USB audio devices.
, pulseSupport ? true, libpulseaudio ? null
# Only needed for getting information about upstream binaries
, chromium
}:
with stdenv.lib;
with (import ../chromium/update.nix {
inherit (stdenv) system;
}).getChannel channel;
with chromium.upstream-info;
let
opusWithCustomModes = libopus.override {