Hacker News new | ask | show | jobs
by Jabdoa2 1299 days ago
Is there a way to specify a specific version of a language in devenv? I checked to docs and even read the nix tutorial but could not figure this out.

I like to idea of having this in every repository in our codebase. Would make bootstrapping easier for new developers. However, you often want a specific golang or python version. Once you update some tool or language everybody gets the new env. That would be neat. Is that possible somehow?

I guess initially we would roll this out just for dev and keep Dockerfiles how they are but eventually we could then use it as builder in docker.

Bonus question: Can I use devenv/nix together with Bazel? We use that in quite a few newer projects and it also suffers from the local dev env issue.

1 comments

Specifying language versions is planned.

Versions are locked using devenv.lock and everyone gets the same version.