diff options
author | William A. Kennington III <william@wkennington.com> | 2014-09-01 04:39:45 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-09-01 04:39:45 -0700 |
commit | 3e834e17839a0e0c79050ad6cb4269d636077674 (patch) | |
tree | 620a6b97d63a4110e8609eb15c4f66ec12df72c4 /nixos/tests/nat.nix | |
parent | 3a663f679f0ecad309abe2b78720ec02d3c6a2b3 (diff) |
nixos/tests: Fix usage of head function without pkgs.lib
Diffstat (limited to 'nixos/tests/nat.nix')
-rw-r--r-- | nixos/tests/nat.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nat.nix b/nixos/tests/nat.nix index 5a57cce6b6786..87ed974edad38 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 = |