mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Fix building unbound configs for alternates
This commit is contained in:
@@ -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
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user