convert acquire-wan-address to writeFennel

this means we can get rid of the inelegant environent variable
check at the bottom of the file
This commit is contained in:
Daniel Barlow
2023-09-12 17:51:00 +01:00
parent 343d3b6508
commit 0a737c62cd
2 changed files with 9 additions and 11 deletions

View File

@@ -1,8 +1,9 @@
{
writeFennelScript
writeFennel
, linotify
, anoia
}:
writeFennelScript "acquire-wan-address"
[ linotify anoia ]
./acquire-wan-address.fnl
writeFennel "acquire-wan-address" {
packages = [ linotify anoia ];
mainFunction = "run";
} ./acquire-wan-address.fnl