forked from mirrors/nixpkgs
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:
parent
f28b71023c
commit
3f7735fe65
|
@ -84,6 +84,7 @@ in stdenv.mkDerivation {
|
|||
inherit (chromium.browser) meta packageName;
|
||||
|
||||
passthru = {
|
||||
inherit (chromium) upstream-info;
|
||||
mkDerivation = chromium.mkChromiumDerivation;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue