Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


The author is definitely confused. Direnv and Nix are not related.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: