2023-02-25 00:03:09 +01:00
|
|
|
{
|
2023-07-02 19:19:54 +02:00
|
|
|
lua
|
2023-02-25 00:03:09 +01:00
|
|
|
, netlink-lua
|
2023-05-29 21:20:12 +02:00
|
|
|
, writeFennelScript
|
|
|
|
, runCommand
|
2024-03-11 23:16:49 +01:00
|
|
|
, anoia
|
2023-02-25 00:03:09 +01:00
|
|
|
}:
|
2023-07-02 19:19:54 +02:00
|
|
|
runCommand "ifwait" {} ''
|
2023-05-29 21:20:12 +02:00
|
|
|
mkdir -p $out/bin
|
2024-03-11 23:16:49 +01:00
|
|
|
cp -p ${writeFennelScript "ifwait" [anoia netlink-lua] ./ifwait.fnl} $out/bin/ifwait
|
2023-05-29 21:20:12 +02:00
|
|
|
''
|