services-flake
services-flake copied to clipboard
Have services provide the relevant devShell?
For eg., the postgres service could provide a devShell output that includes psql cli.
Ref (from an internal project that @shivaraj-bh should have access to):
Can we write that as:
pkgs.mkShell {
inputsFrom = {
config.devShells.common
config.haskellProjects.default.outputs.devShell
config.process-compose.services.services.devShell
};
}
?
Because, hiding the details in flake.nix is generally a good thing.
In the meanwhile, the user must know where to get the package from and then manually add them to their devShell. Not to mention leave a comment, because this is not very self-documenting.