Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how does this compare to devbox? #43

Closed
vsoch opened this issue Nov 14, 2022 · 3 comments
Closed

Question: how does this compare to devbox? #43

vsoch opened this issue Nov 14, 2022 · 3 comments

Comments

@vsoch
Copy link

vsoch commented Nov 14, 2022

Specifically, this is devbox: https://github.com/jetpack-io/devbox

I'm loving nix (and have started using devbox) and am wondering how the two compare. Thanks!

@domenkozar
Copy link
Member

Hey! I'm working on a FAQ and will post it on the website soon.

Quickly, the main differences are:

  • devbox uses JSON for specification, while devenv uses Nix. Using a real language brings a lot of power that is delegated to code generation in devbox. Since we have https://nix.dev/tutorials/nix-language I think this is totally worth it.
  • devbox focuses on containers, while devenv wants to empower local development.
  • devbox uses code generation, which is extremely suboptimal way to scale this.
  • We have thousands of Nix developers that are already using different ways to create local dev environments and embracing the power of the community will lead us to supporting pretty much anything.
  • devenv composes extremely well, for example 0.2 added support for devenv.local.nix.

TLDR: using Nix as a powerful language that made all this possible is far more superior to a JSON format.

As time passes this will become more obvious :)

@vsoch
Copy link
Author

vsoch commented Nov 14, 2022

Thank you - this is perfect! Going to give it a try now <3

@alexanderdavide
Copy link

@domenkozar, can you elaborate on how devbox focuses on containers? It claims to be local too, just like devenv, but allows to turn the configuration into a Dev Container or Dockerfile on demand. In its core, I currently can't see a relation to containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants