News for hackers. Stuff that matters.
Re:Automate Project Environments with Devbox and Direnv by cquintana92 on Wednesday July 10, 2024 @03:45AM (#40924569)
Been using Devbox recently both at work and for personal projects and I can only say good things. It abstracts away the complexity of nix, defining the dependencies in a simple json with a lock file, the shell starts quite fast and from then on you have everything under your PATH, and it works the same in macOS and Linux.

Also, as a benefit, by tracking the JSON and lockfile, the CI can work with the exact same environment. I highly recommend giving it a try.

Re:Automate Project Environments with Devbox and Direnv by mtndew4brkfst on Wednesday July 10, 2024 @08:10AM (#40926024)
Also, as a benefit, by tracking the JSON and lockfile, the CI can work with the exact same environment.

This benefit is also possible under both Nix flakes (inherently) and vanilla Nix. The latter takes mild deliberate effort to not use channels-based import syntax but instead a fetcher with a pinned URL argument.

Re:Automate Project Environments with Devbox and Direnv by Fire-Dragon-DoL on Wednesday July 10, 2024 @06:31PM (#40932144)
How does it compare to docker? Does it run stuff on baremetal?