diff --git a/pkgs/cicero/evaluators/nix/lib.nix b/pkgs/cicero/evaluators/nix/lib.nix index 7a0ba2ec..7d67a90a 100644 --- a/pkgs/cicero/evaluators/nix/lib.nix +++ b/pkgs/cicero/evaluators/nix/lib.nix @@ -214,15 +214,15 @@ rec { (next // { # XXX we have to pre-create `template` because it may not be present # see https://github.com/divnix/data-merge/issues/1 - template = next.template or []; + template = next.template or [ ]; }) { - template = data-merge.append [ { + template = data-merge.append [{ destination = "/etc/resolv.conf"; left_delimiter = ""; right_delimiter = ""; data = lib.concatStringsSep "\n" (map (ns: "nameserver " + ns) nameservers); - } ]; + }]; }; addNameservers = nameservers: