Skip to content

Commit

Permalink
google-chrome: add channel name suffix
Browse files Browse the repository at this point in the history
Updates would always select the unstable version otherwise. This was
copies from the chromium package.
  • Loading branch information
zimbatm committed Dec 27, 2016
1 parent 3b05079 commit 02c65bd
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -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;

Expand Down

0 comments on commit 02c65bd

Please sign in to comment.