create a module for round-robin

This commit is contained in:
Daniel Barlow
2024-07-15 22:37:37 +01:00
parent b17f623d03
commit 3899daee56
4 changed files with 69 additions and 28 deletions

View File

@@ -13,7 +13,7 @@ stdenv.mkDerivation {
propagatedBuildInputs = [ s6-rc-up-tree ];
installPhase = ''
mkdir -p $out/bin
cp -p ${writeFennel "uevent-watch" {
cp -p ${writeFennel "s6-rc-round-robin" {
packages = [fennel anoia linotify lualinux s6-rc-up-tree] ;
mainFunction = "run";
} ./robin.fnl} $out/bin/s6-rc-round-robin