News for hackers. Stuff that matters.
Re:Automate Project Environments with Devbox and Direnv by francis-io on Wednesday July 10, 2024 @05:55AM (#40925308)
The author might have confused a few things, I don't think direnv and Nix are related. I've used direnv for years without touching Nix.
Re:Automate Project Environments with Devbox and Direnv by nerdponx on Wednesday July 10, 2024 @06:56AM (#40925613)
The author is definitely confused. Direnv and Nix are not related.
Re:Automate Project Environments with Devbox and Direnv by turboponyy on Wednesday July 10, 2024 @08:34AM (#40926206)
Direnv and Nix are related in the sense that direnv has a `use flake` command that you can put in your .envrc to load the devShell defined in the project's flake.nix file. It's essentially just an automatic entry to the project's Nix-native devShells.

Edit: this is the only thing I use direnv for - I haven't used direnv without touching Nix.