Is your feature request related to a problem? Please describe.
Exiting nix develop shell leaves running processes.
Describe the solution you'd like
For interactive and startup sections, it would be great to be able to leverage some small init system that automatically reaps child processes.
Describe alternatives you've considered
Adding traps like here, but still not easy to get going right always, and some programs don't support daemon mode out of the box:
Additional context
Is your feature request related to a problem? Please describe.
Exiting
nix developshell leaves running processes.Describe the solution you'd like
For interactive and startup sections, it would be great to be able to leverage some small init system that automatically reaps child processes.
Describe alternatives you've considered
Adding traps like here, but still not easy to get going right always, and some programs don't support daemon mode out of the box:
devshell/tests/extra/services.postgres.nix
Line 20 in 7033f64
Additional context