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 = ./.; } ''
|
runCommandLocal "stevenblack-hosts-unbound" { src = ./.; } ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
${toUnboundConf} < $src/hosts > $out/hosts
|
${toUnboundConf} < $src/hosts > $out/hosts
|
||||||
for file in alternates/*/hosts; do
|
for file in $src/alternates/*/hosts; do
|
||||||
${toUnboundConf} < $file > $out/$(basename $(dirname $file))
|
${toUnboundConf} < $file > $out/$(basename $(dirname $file))
|
||||||
done
|
done
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user