fix ifwait deps

main
Daniel Barlow 2024-03-11 22:16:49 +00:00
parent 9c22744850
commit e4ac7f19dc
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
(local netlink (require :netlink))
(local { : view } (require :fennel))
; (local { : view } (require :fennel))
(fn events [groups]
(let [sock (netlink.socket)]

View File

@ -3,8 +3,9 @@
, netlink-lua
, writeFennelScript
, runCommand
, anoia
}:
runCommand "ifwait" {} ''
mkdir -p $out/bin
cp -p ${writeFennelScript "ifwait" [netlink-lua] ./ifwait.fnl} $out/bin/ifwait
cp -p ${writeFennelScript "ifwait" [anoia netlink-lua] ./ifwait.fnl} $out/bin/ifwait
''