From 95aa20e0ecedd36929983d527c86cf4ec216a07e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 19 Dec 2017 14:11:48 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ymir.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ymir.nix b/ymir.nix index ee7f87b8..f3edfd49 100644 --- a/ymir.nix +++ b/ymir.nix @@ -27,7 +27,7 @@ let dnsZoneDir = ./ymir/zones; dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (builtins.readDir dnsZoneDir))); - dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (dnsZoneDir + fName))); + dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (dnsZoneDir + "/" + fName))); dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); in rec { imports = -- cgit v1.2.3