diff --git a/README.md b/README.md index a66b618..2a493c9 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ keep-outputs = true Put the following lines in your `.envrc`: ```bash -if ! has nix_direnv_version || ! nix_direnv_version 2.1.0; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.0/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0=" +if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0=" fi ``` diff --git a/templates/flake/.envrc b/templates/flake/.envrc index 0980599..5e9005b 100644 --- a/templates/flake/.envrc +++ b/templates/flake/.envrc @@ -1,4 +1,4 @@ -if ! has nix_direnv_version || ! nix_direnv_version 2.1.0; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.0/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0=" +if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0=" fi use flake