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 ''