From 7b7f782c93fafe2c42f882b933cf49ba99e3e3bc Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 3 Apr 2018 04:00:20 +0200 Subject: tests: Properly propagate nixpkgs path Yet another occasion where we import nixpkgs-path.nix unconditionally, so let's actually pass a nixpkgsPath to every test function. Signed-off-by: aszlig --- tests/games/starbound.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/games') diff --git a/tests/games/starbound.nix b/tests/games/starbound.nix index 5f545fe0..0be34309 100644 --- a/tests/games/starbound.nix +++ b/tests/games/starbound.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, nixpkgsPath, ... }: let xdo = { name, description, xdoScript }: let @@ -55,7 +55,7 @@ in { client = { pkgs, ... }: { imports = [ - "${import ../../nixpkgs-path.nix}/nixos/tests/common/x11.nix" + "${nixpkgsPath.nix}/nixos/tests/common/x11.nix" ]; virtualisation.memorySize = 2047; environment.systemPackages = [ -- cgit 1.4.1