pxc 14 minutes ago

I have been doing this aspect manually, sometimes adding a flake.nix or using Devenv with flake.nix instead of devenv.nix.

If this can work well generally, it's a really slick integration. I'm really impressed with Devenv's velocity and usefulness overall.

If you haven't checked devenv out yet, you definitely should. Don't be intimidated by the breadth of the featureset, either! It's really easy to use just the bits you're interested in and grow your usage (or not) organically.

ewuhic 2 hours ago

Does it cache dependency crates to nix store? Does it result to speed-up in builds?

  • domenkozar 2 hours ago

    Yes, it does vendor all the crates to Nix store.

    It results into speed up in a way that if your application doesn't change, you'll just get the binary package.

    That's why the two interfaces are exposed: one for development feedback cycle and one for distribution.

silicon_laser 3 hours ago

how does it compare with the devbox project

  • tadfisher 28 minutes ago

    This post is talking about building your project with Nix, and only tangentially about dev environments à la devbox.

  • domenkozar 2 hours ago

    We're aiming to take Nix to its most simple form, while devbox uses json for configuration.

    Think of devenv as systemd of developer environments.