Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by gregwebs on Wednesday March 13, 2024 @03:14PM
(#39696038)
There are several tools in this space now- nix is maturing and people are realizing how useful nix can be for dev envs.
I am glad that flox is pushing its development forward. Does flox have a way to run services? With `devenv` I run my database with `devenv up`.
[ Parent
| on HN ]
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by mrd3v0 on Wednesday March 13, 2024 @04:24PM
(#39696984)
> but worried that the development is not moving forward
There is an open v1.0 PR: https://github.com/cachix/devenv/pull/1005
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by jeanregisser on Wednesday March 13, 2024 @03:49PM
(#39696507)
Not nix based, but I really like https://github.com/jdx/mise too to manage dev tools.
It’s a modern version of https://github.com/asdf-vm/asdf written in Rust.
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by hiljusti on Wednesday March 13, 2024 @06:36PM
(#39698427)
Formerly known as `rtx`
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by jljljl on Wednesday March 13, 2024 @03:22PM
(#39696159)
Devbox can also run services too. Both products use an awesome process runner called process-compose (https://github.com/f1bonacc1/process-compose/) which is worth checking out (it's even built with nix!)
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by tripdout on Wednesday March 13, 2024 @04:02PM
(#39696676)
I think the ability to run services is really what separates Devbox from other related Nix-based dev-env solutions.
Essentially taking what you get from the NixOS-specific configuration.nix options (like for example `services.mediawiki.enable = true`) and letting that be per-project, per-directory, is super useful.
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by altano on Wednesday March 13, 2024 @09:28PM
(#39699692)
I think Devbox's killer feature is trivially searching for and installing packages by version: https://www.jetpack.io/blog/how-nixhub-searches-nixpkgs/
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by mrbonner on Wednesday March 13, 2024 @05:15PM
(#39697621)
+1 to devenv.
I used to use Nix natively, then switched to devbox and then devenv.
devenv is the most intuitive to use. I just wish that I could just run a command using devenv (similar to nix run) instead of having to declare it in the devenv.nix first.
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by soraminazuki on Wednesday March 13, 2024 @05:30PM
(#39697795)
I use devenv with flakes. That allows me to use standard Nix commands including nix run.
Re:Show HN: Flox 1.0 – Open-source dev env as code with Nix
by whazor on Wednesday March 13, 2024 @06:09PM
(#39698182)
Nix allows you to have a single lock file for all your dependencies. This is very useful for development environments. When you share a lock file via Git, then you know your colleagues will be running the same versions.