diff --git a/.travis.yml b/.travis.yml
index fe9e2d1..22e0e56 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,4 @@
language: nix
script:
- - git clone --depth 1 https://github.com/NixOS/nixpkgs ../nixpkgs
- nix-build tests/intern.nix
- nix-build tests/extern.nix
diff --git a/tests/extern.nix b/tests/extern.nix
index 147d218..f98f10e 100644
--- a/tests/extern.nix
+++ b/tests/extern.nix
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
-import ./../../nixpkgs/nixos/tests/make-test.nix {
+import {
nodes =
{ server = { config, pkgs, ... }:
diff --git a/tests/intern.nix b/tests/intern.nix
index 5002e24..d066c24 100644
--- a/tests/intern.nix
+++ b/tests/intern.nix
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
-import ./../../nixpkgs/nixos/tests/make-test.nix {
+import {
machine =
{ config, pkgs, ... }: