devenv 1.4: Generating Nix developer environments using AI
We started devenv back in 2021 with the goal of reshaping developer experience using Nix.
Today you can run devenv init to get a basic devenv.nix/devenv.yaml scaffold for your project, but we want to take it a step further.
Generating based on source code
Converting existing source code into a devenv.nix:
Generating based on a description
Instead of sending the full source you can also describe the environment you want to create:
$ devenv generate "A Python project using Torch"
• Generating devenv.nix and devenv.yaml, this should take about a minute ...
Privacy
We store inputs (source or the description) and outputs (devenv.nix/devenv.yaml) in order to learn and improve results in the future.
If you'd like to opt-out, pass --disable-analytics to devenv generate.
Domen