forked from mirrors/nixpkgs
google-chrome: add channel name suffix
Updates would always select the unstable version otherwise. This was copies from the chromium package.
This commit is contained in:
parent
3b050791e4
commit
02c65bdac9
|
@ -51,10 +51,13 @@ let
|
|||
flac harfbuzz icu libpng opusWithCustomModes snappy speechd
|
||||
bzip2 libcap
|
||||
] ++ optional pulseSupport libpulseaudio;
|
||||
|
||||
suffix = if channel != "stable" then "-" + channel else "";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
inherit version;
|
||||
|
||||
name = "google-chrome-${version}";
|
||||
name = "google-chrome${suffix}-${version}";
|
||||
|
||||
src = binary;
|
||||
|
||||
|
|
Loading…
Reference in a new issue