From b461721f17d7104c7ef08a0840d80685b9ae853e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Mar 2012 21:41:45 +0100 Subject: Fix tests --- tests/nix-copy-closure.nix | 4 ++-- tests/remote-builds.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/nix-copy-closure.nix b/tests/nix-copy-closure.nix index 7e2cf3a08870..db6103b9cbf7 100644 --- a/tests/nix-copy-closure.nix +++ b/tests/nix-copy-closure.nix @@ -1,8 +1,8 @@ # Test ‘nix-copy-closure’. -{ nixpkgs, nixos, system, nix }: +{ system, nix }: -with import "${nixos}/lib/testing.nix" { inherit nixpkgs system; }; +with import { inherit system; }; makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in { diff --git a/tests/remote-builds.nix b/tests/remote-builds.nix index de127b8aee16..b0d2547c66d6 100644 --- a/tests/remote-builds.nix +++ b/tests/remote-builds.nix @@ -1,8 +1,8 @@ # Test Nix's remote build feature. -{ nixpkgs, nixos, system, nix }: +{ system, nix }: -with import "${nixos}/lib/testing.nix" { inherit nixpkgs system; }; +with import { inherit system; }; makeTest ({ pkgs, ... }: -- cgit 1.4.1