Fix building unbound configs for alternates
authorBobbe <redacted>
Wed, 25 Mar 2026 11:37:47 +0000 (12:37 +0100)
committerBobbe <redacted>
Mon, 27 Apr 2026 12:11:42 +0000 (14:11 +0200)
unbound.nix

index 1e9aa3d700ca37336c5bda0d837aef13e1a8b969..0727edb4a87f7401362752e2fefe828f5ca85bde 100644 (file)
@@ -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
 ''
git clone https://git.99rst.org/PROJECT