chromium: Don't set "channel" in the environment

The "channel" variable shouldn't be part of the final derivation. This
also makes it possible to avoid unnecessary rebuilds for identical
channels (e.g. major updates are tested via the "beta" channel first and
usually neither the source-code archive nor the dependencies change when
the update makes it into the "stable" channel - this means we could
better use chromiumBeta to test major updates in advance).
This commit is contained in:
Michael Weiss 2021-01-22 12:19:27 +01:00
parent f6a583eeec
commit fac05ac695
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -117,7 +117,7 @@ let
base = rec {
name = "${packageName}-unwrapped-${version}";
inherit (upstream-info) version;
inherit channel packageName buildType buildPath;
inherit packageName buildType buildPath;
src = fetchurl {
url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";