liminix/pkgs/ifwait/default.nix
2023-07-02 18:19:54 +01:00

10 lines
188 B
Nix

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