about summary refs log tree commit diff
path: root/tests/make-test.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-03 04:00:20 +0200
committeraszlig <aszlig@nix.build>2018-04-03 04:00:20 +0200
commit7b7f782c93fafe2c42f882b933cf49ba99e3e3bc (patch)
treef59576b4b22cc42c7747c9dd29be704a8e58f831 /tests/make-test.nix
parente603e0fd1ed6e919beb8d31d3c69ad70f002f539 (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'tests/make-test.nix')
-rw-r--r--tests/make-test.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/make-test.nix b/tests/make-test.nix
index 6015023d..4534b991 100644
--- a/tests/make-test.nix
+++ b/tests/make-test.nix
@@ -17,6 +17,7 @@ testFun:
     pkgs = pkgs // {
       vuizvui = import ../pkgs { inherit pkgs; };
     };
+    inherit nixpkgsPath;
   }) else testFun;
 
   nodes = testArgs.nodes or (if testArgs ? machine then {