And don't get me wrong - I know it _can_ be done in Nix (as it is a programming language) - the question is _how easy_ it is to create/maintain it.
Let's say my solution requires a Java Spring Boot application, React client, custom Postgres extension and Python ML code.
- Java stuff
- node and npm
- I don't know what you would need for Postgres extensions
- Python, pip or poetry (or whatever you use for Python package management)
Here is an example flake: https://bpa.st/ZUQQ
Under `devShells`, you have `packages`. You can put there any package from nixpkgs, not just Python packages like I have there.
To make it cleaner, you could have a variable for each platform and concatenate them under packages like
`packages = javaPkgs ++ nodePkgs ++ pgPkgs ++ pyPkgs`.
And don't get me wrong - I know it _can_ be done in Nix (as it is a programming language) - the question is _how easy_ it is to create/maintain it.
Let's say my solution requires a Java Spring Boot application, React client, custom Postgres extension and Python ML code.