3 ms·
i agree with some of your points but differ as follows: getting an entire team or project up and running in less than 5 mins with devenv is a fanstastic introd
by ghuntley 3y ago
i agree with some of your points but differ as follows:
getting an entire team or project up and running in less than 5 mins with devenv is a fanstastic introduction for folks who do not have experience with nix. devenv solves the “onboarding new developer in a couple seconds without having to learn nix” pain point.
the next step there is to migrate away from only using nix shell (via devenv) and go for making ci reproducible locally once folks are more comfortable with nix/less career risk for introducing new tech.
then the world is your oyster.
use build2dockerImage and start creating docker images that are reproducible and use them in production.
- toastal 3y agoGetting someone up and running with a flake.nix with a defined devShell is just as simple and probably requires less knowledge since it's not another tool bolted on. Making the env and CI reproducible should be seen more like a good stepping stone and you can take the next leap when ready since it can all happen in the same flake file rather than a separate YAML one. The world is your oyster approach is skipping Docker and just running Nix on the server without the overhead of containers.