From e047d792796165c369ea2640e997e641b4908146 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 21 Mar 2016 03:50:38 +0100 Subject: [PATCH] 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 --- nixos/tests/chromium.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix index dfa65ab73912..9a6414f81c39 100644 --- a/nixos/tests/chromium.nix +++ b/nixos/tests/chromium.nix @@ -1,5 +1,5 @@ { system ? builtins.currentSystem -, pkgs ? import ../.. {} +, pkgs ? import ../.. { inherit system; } , channelMap ? { stable = pkgs.chromium; beta = pkgs.chromiumBeta;