Skip to content

Commit

Permalink
treefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Jan 17, 2022
1 parent 3a9ddd7 commit 7844b1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/cicero/evaluators/nix/lib.nix
Expand Up @@ -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:
Expand Down

0 comments on commit 7844b1a

Please sign in to comment.