services-flake
services-flake copied to clipboard
Defining services intended to be run in a devShell environment (without using `nix build|run`)
Would be good to document this.
Concrete example
UX: https://github.com/nammayatri/nammayatri/blob/main/Backend/nix/run-mobility-stack.nix
Impl: https://github.com/nammayatri/nammayatri/blob/main/Backend/nix/services/nammayatri.nix
In particular, note the useCabal option: https://github.com/nammayatri/nammayatri/blob/main/Backend/nix/services/nammayatri.nix#L24