New major release of devenv

47 points by zupo a day ago on lobsters | 6 comments

aloys | a day ago

I used devenv for a couple of years before reverting to simple flakes.

One of the issue I had was the process TUI was difficult to disable, and TUIs are rarely Emacs friendly. In the end, it was simpler to just use a plain flake, with flake-utils. I don't miss anything from devenv, plain flakes are absolutely fine for my needs. I essentially outgrew the need for devenv.

Bear in mind that I'm the only one in my team using nix.

But I'll say this, devenv is a great project and I would encourage those that aren't familiar with flakes or nix to try it out..it's a great first step in the nix world. It's probably a good tool to introduce your team to nix managed config.

I will keep an eye on it.

domenkozar | a day ago

We have --no-tui flag now.

A lot of why devenv was created because I wanted to simplify the uncessesary complexity in flakes and make it development environment first.

docteurklein | 18 hours ago

I too replaced devenv because I wanted to reuse more of nixos existing infra.

I find it frustating to not be able to tap in all the existing work and find out that services.* doesn't contain something already existing in nixos, so I tried using extra-container to have a similar experience built using systemd.

My results are here: https://github.com/docteurklein/httpg/blob/main/flake.nix#L116

Now I can:

  • use all existing services from nixos
  • nix run .#up
  • journalctl -M httpg -u postgresql

zetashift | a day ago

I found devenv a nice experience as well, it came with good defaults. However It an currently using mise for most developer related tooling, as it works just fine for most Elixir stuff at work.

Especially being the only Nix user at work, makes it hard to justify the time spent debugging some weird error that pops up. This was like 2 years ago tho, so maybe things have improved.

Maybe this new version is a good reason to jump back in again!

pmarreck | a day ago

turns out modern LLMs are extremely good at solving Nix problems

toastal | 23 hours ago

The TUI is well-done… very cool they hook into the C bindings to get more data about the status of evaluation, will be better for everyone once upstreamed.