nixos/tests/chromium: Propagate "system" to pkgs

Assigning the channelMap by the function attrset argument at the
top-level of the test expression file may reference a different
architecture than we need for the tests.

So if we get the pkgs attribute by auto-calling, this will lead to test
failure because we have a different architecture for the test than for
the browser.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-03-21 03:50:38 +01:00
parent 5ebd629c6f
commit e047d79279
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -1,5 +1,5 @@
{ system ? builtins.currentSystem
, pkgs ? import ../.. {}
, pkgs ? import ../.. { inherit system; }
, channelMap ? {
stable = pkgs.chromium;
beta = pkgs.chromiumBeta;