From 528943263040c9f383361b1a37a3ee4db66412af Mon Sep 17 00:00:00 2001 From: Anthony Oleinik <48811365+antholeole@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:59:47 -0700 Subject: Add support for other procfile runners (#5) * WIP * WIP * WIP * done * done * fix CI * fix CI * refactor: default to overmind in mkProcfileRunner * module: cleanup option docs * refactor: cleanup multi-test suite --------- Co-authored-by: seth --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8d1fc45..fa8cf51 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # procfile-nix -A library + [flake-parts](https://flake.parts/) module that helps you manage procfiles and background jobs with [overmind](https://github.com/DarthSim/overmind)! +A library + [flake-parts](https://flake.parts/) module that helps you manage procfiles and background jobs with [overmind](https://github.com/DarthSim/overmind) (or any other Procfile runner)! ## Usage @@ -46,6 +46,9 @@ First, put this in your `flake.nix`: procGroup = { redis = lib.getExe' pkgs.redis "redis-server"; }; + + # OPTIONAL: switch the Procfile runner if desired. + procRunner = pkgs.honcho; }; in { default = pkgs.mkShell { @@ -89,6 +92,9 @@ Then run `nix develop`, `daemons &`, and you're good to go! }: { procfiles.daemons.processes = { redis = lib.getExe' pkgs.redis "redis-server"; + + # OPTIONAL: switch the Procfile runner if desired. + procRunner = pkgs.honcho; }; devShells.default = pkgs.mkShell { -- cgit v1.2.3