forked from DGNum/liminix
10 lines
188 B
Nix
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
|
|
''
|