4 ms·
Another way to do this is to install Nix and direnv (and/or Emacs direnv-mode), then include a `use nix` statement in the .envrc file inside your project root.
by GlennS 8y ago
Another way to do this is to install Nix and direnv (and/or Emacs direnv-mode), then include a `use nix` statement in the .envrc file inside your project root.
Then, when you `cd` into your project directory, your environment with all its dependencies appears.
However, there are some downsides to this magical future tech:
+ Nix is hard to learn.
+ Not compatible with the standard environment managers for each language.
https://github.com/direnv/direnv https://github.com/direnv/direnv
https://nixos.org/nix/ https://nixos.org/nix/
- e12e 8y agoInteresting. I've been considering nix, but wasn't aware of direnv. Should be a sensible combination.