Skip to content

Commit 02c65bd

Browse files
committedDec 27, 2016
google-chrome: add channel name suffix
Updates would always select the unstable version otherwise. This was copies from the chromium package.
1 parent 3b05079 commit 02c65bd

File tree

1 file changed

+4
-1
lines changed
  • pkgs/applications/networking/browsers/google-chrome

1 file changed

+4
-1
lines changed
 

Diff for: ‎pkgs/applications/networking/browsers/google-chrome/default.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ let
5151
flac harfbuzz icu libpng opusWithCustomModes snappy speechd
5252
bzip2 libcap
5353
] ++ optional pulseSupport libpulseaudio;
54+
55+
suffix = if channel != "stable" then "-" + channel else "";
56+
5457
in stdenv.mkDerivation rec {
5558
inherit version;
5659

57-
name = "google-chrome-${version}";
60+
name = "google-chrome${suffix}-${version}";
5861

5962
src = binary;
6063

0 commit comments

Comments
 (0)
Please sign in to comment.