fix ifwait deps

This commit is contained in:
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 netlink (require :netlink))
(local { : view } (require :fennel)) ; (local { : view } (require :fennel))
(fn events [groups] (fn events [groups]
(let [sock (netlink.socket)] (let [sock (netlink.socket)]

View file

@ -3,8 +3,9 @@
, netlink-lua , netlink-lua
, writeFennelScript , writeFennelScript
, runCommand , runCommand
, anoia
}: }:
runCommand "ifwait" {} '' runCommand "ifwait" {} ''
mkdir -p $out/bin 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
'' ''