From 9fba8e923523d91caf652717fb713d37fc8445e7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 19 Dec 2017 14:12:55 +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 f3edfd49..4f8b0bbf 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