liminix/pkgs/ifwait/default.nix
2024-03-16 20:16:49 +00:00

11 lines
202 B
Nix

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