From e6b130f4630f44384500b83766aca0329911a262 Mon Sep 17 00:00:00 2001 From: Michael Glass Date: Tue, 3 Dec 2024 18:02:27 +0100 Subject: [PATCH] update nix instructions in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3ad21e3..e558ce75 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ To get started, install nix from [nixos.org/nix](https://nixos.org/nix/). After that's set up in your shell (just follow the instructions at the end of the installation script) you can run `nix-shell` to get a development environment with everything you need. If you find that inconvenient, try using [`direnv`](https://direnv.net/). -Once that's set up, `echo use nix > .envrc` and then `direnv allow`. +Once that's set up, `ln -s .envrc.nix .envrc` and then `direnv allow`. Anytime you enter the project your shell will automatically pick up the right dependencies. If you find that `direnv` loads too slow, [there are faster loading strategies than the default in their wiki](https://github.com/direnv/direnv/wiki/Nix).