google-chrome*: add meta.mainProgram

This commit is contained in:
Samuel Gräfenstein 2021-04-27 19:21:53 +02:00
parent 24063d067f
commit a4895f7183
No known key found for this signature in database
GPG key ID: EF76A063F15C63C8

View file

@ -161,5 +161,8 @@ in stdenv.mkDerivation {
# will try to merge PRs and respond to issues but I'm not actually using
# Google Chrome.
platforms = [ "x86_64-linux" ];
mainProgram =
if (channel == "dev") then "google-chrome-unstable"
else "google-chrome-${channel}";
};
}