From 8d2ff5312e4b056fe892a6345fe3afa8ee99b3de Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 12 May 2016 23:11:59 +0200 Subject: =?UTF-8?q?callPackage=20can=E2=80=99t=20work?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/tinc/yggdrasil.nix | 1 - hel.nix | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 975d4a3d..5fa76fe1 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix @@ -4,7 +4,6 @@ , name , connect ? true , ipConf ? {} -, ... }: diff --git a/hel.nix b/hel.nix index 2222cc9f..84b2c50c 100644 --- a/hel.nix +++ b/hel.nix @@ -83,7 +83,8 @@ ntp.enable = false; timesyncd.enable = true; - customTinc.networks = (pkgs.callPackage ./custom/tinc/yggdrasil.nix { + customTinc.networks = ((import ./custom/tinc/yggdrasil.nix) { + inherit (pkgs) stdenv nettools openresolv; name = "hel"; ipConf = { ip4 = [ { address = "10.141.5.1"; prefixLength = 16; } ]; -- cgit v1.2.3