From 3e834e17839a0e0c79050ad6cb4269d636077674 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 1 Sep 2014 04:39:45 -0700 Subject: nixos/tests: Fix usage of head function without pkgs.lib --- nixos/tests/nat.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests/nat.nix') diff --git a/nixos/tests/nat.nix b/nixos/tests/nat.nix index 5a57cce6b678..87ed974edad3 100644 --- a/nixos/tests/nat.nix +++ b/nixos/tests/nat.nix @@ -13,7 +13,7 @@ import ./make-test.nix { { virtualisation.vlans = [ 1 ]; networking.firewall.allowPing = true; networking.defaultGateway = - (head nodes.router.config.networking.interfaces.eth2.ip4).address; + (pkgs.lib.head nodes.router.config.networking.interfaces.eth2.ip4).address; }; router = -- cgit 1.4.1