process-compose-flake
process-compose-flake copied to clipboard
A `flake-parts` module to spin up processes for development by leveraging `process-compose`
Honcho (via https://github.com/srid/proc-flake) can run it fine though. I think this is an upstream bug, but filing an issue here for reference.
Document this using https://github.com/juspay/nix-browser/pull/24/files#r1290755994 as example
now it is string, so cannot use binary package
Would like to disable TUI for all commands. Not sure if process-compose supports it, maybe it's worth to implement special tool as a replacement to process-compose.
Similar to https://flake.parts/options/haskell-flake.html#opt-perSystem.haskellProjects._name_.autoWire Add a way to disable auto wiring of flake outputs (`packages`), so the user can wire them manually.
```nix process-compose.dev = { debug = true; tui = false; settings = { processes = { web = { command = "echo $PWD"; working_dir = with {p = toString ./api;};...
eg.: https://github.com/juspay/passetto/pull/1/files#diff-d42ce6f4af2f6535fe936e696b7866ae0667acb573988e991dce1e76e03f84d1
Perhaps as `apply` option to this: https://github.com/Platonic-Systems/process-compose-flake/blob/9344fac44edced4c686721686a6ad904d067c546/nix/process-compose/default.nix#L14-L21 --- nixpkgs reference example, https://github.com/NixOS/nixpkgs/blob/cb276443480ea124714ace4e972e6b3170d797ff/pkgs/applications/science/logic/klee/default.nix#L44 cf. https://github.com/Platonic-Systems/process-compose-flake/discussions/71?converting=1
https://github.com/F1bonacc1/process-compose/issues/129#issuecomment-1902762097
Here I've made options for every process-compose argument there currently is. This makes it nicer to set arguments in a modular way, and also paves the way to conditionally pass...