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
|
flac harfbuzz icu libpng opusWithCustomModes snappy speechd
|
||||||
bzip2 libcap
|
bzip2 libcap
|
||||||
] ++ optional pulseSupport libpulseaudio;
|
] ++ optional pulseSupport libpulseaudio;
|
||||||
|
|
||||||
|
suffix = if channel != "stable" then "-" + channel else "";
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
name = "google-chrome-${version}";
|
name = "google-chrome${suffix}-${version}";
|
||||||
|
|
||||||
src = binary;
|
src = binary;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user