From 800ccbb293ef3b8d4a920609f07407e1a0b66c03 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 19 Dec 2017 14:10:13 +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 fcf8ab69..5b159e83 100644 --- a/ymir.nix +++ b/ymir.nix @@ -25,7 +25,7 @@ let "ymir.nights.email" "nights.email" "www.nights.email" ]; - dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (readDir ./custom/ymir/zones))); + dnsZones = listToAttrs (flatten (mapAttrsToList dnsZone (builtins.readDir ./custom/ymir/zones))); dnsZone = fName: type: optional (type == "regular" || type == "symlink") (nameValuePair (dnsZoneName fName) (readFile (./custom/ymir/zones + fName))); dnsZoneName = fName: concatStringsSep "." (reverseList (splitString "." (removeSuffix ".soa" fName))); in rec { -- cgit v1.2.3