summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/testing.nix2
-rw-r--r--tests/default.nix8
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/testing.nix b/lib/testing.nix
index 1b0c3889190..f9e275e5c8d 100644
--- a/lib/testing.nix
+++ b/lib/testing.nix
@@ -5,6 +5,8 @@ with pkgs;
 
 rec {
 
+  inherit pkgs;
+
 
   # Run an automated test suite in the given virtual network.
   # `network' must be the result of a call to the
diff --git a/tests/default.nix b/tests/default.nix
index 9c058ccadcc..a6a7b27fe2a 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -3,13 +3,7 @@
 , system ? builtins.currentSystem
 }:
 
-let
-
-  testLib = 
-    (import ../lib/build-vms.nix { inherit nixpkgs services system; }) //
-    (import ../lib/testing.nix { inherit nixpkgs services system; });
-
-in with testLib;
+with import ../lib/testing.nix { inherit nixpkgs services system; };
 
 {
   firefox = apply (import ./firefox.nix);