forked from DGNum/liminix
fix ifwait deps
This commit is contained in:
parent
9c22744850
commit
e4ac7f19dc
2 changed files with 3 additions and 2 deletions
|
@ -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)]
|
||||||
|
|
|
@ -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
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue