From: Bobbe Date: Wed, 25 Mar 2026 11:37:47 +0000 (+0100) Subject: Fix building unbound configs for alternates X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=db6c334e94d57d5df50f1741dae5d01e3aba88ce;p=stevenblack-hosts.git Fix building unbound configs for alternates --- diff --git a/unbound.nix b/unbound.nix index 1e9aa3d70..0727edb4a 100644 --- a/unbound.nix +++ b/unbound.nix @@ -7,7 +7,7 @@ in runCommandLocal "stevenblack-hosts-unbound" { src = ./.; } '' mkdir $out ${toUnboundConf} < $src/hosts > $out/hosts - for file in alternates/*/hosts; do + for file in $src/alternates/*/hosts; do ${toUnboundConf} < $file > $out/$(basename $(dirname $file)) done ''