From 70d6603a2460e41b255eb3f4e8a88a6a758bbea6 Mon Sep 17 00:00:00 2001 From: bugarela Date: Fri, 8 Mar 2024 09:00:42 -0300 Subject: [PATCH] Update instruction to write nix command to .local-envrc instead of the tracked one --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 36637f0642..bb715c0b05 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -206,11 +206,11 @@ $ nix develop #### Loading nix dependencies with direnv If you want to use direnv to setup your environment with nix (instead of using a -shell), you will need to add `use flake;` to your `.envrc`, and then running -`direnv allow`: +shell), you will need to add `use flake;` to your `.local-envrc`, and then +running `direnv allow`: ```sh -echo "use flake;" >> .envrc && direnv allow +echo "use flake;" >> .local-envrc && direnv allow ``` You can also add a `direnv` extension/package to your IDE of choice to have