services-flake icon indicating copy to clipboard operation
services-flake copied to clipboard

Defining services intended to be run in a devShell environment (without using `nix build|run`)

Open srid opened this issue 4 months ago • 0 comments

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

srid avatar Oct 28 '25 16:10 srid