From 7844b1ae76d1a4c5bc323da49f5f849361a5b2b3 Mon Sep 17 00:00:00 2001 From: Robin Stumm Date: Mon, 17 Jan 2022 19:44:17 +0100 Subject: [PATCH] treefmt --- pkgs/cicero/evaluators/nix/lib.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: