File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ via home-manager section.
133
133
Put the following lines in your ` .envrc ` :
134
134
135
135
``` bash
136
- if ! has nix_direnv_version || ! nix_direnv_version 1.6.1 ; then
137
- source_url " https://raw.githubusercontent.com/nix-community/nix-direnv/1.6.1 /direnvrc" " sha256-aFwy76WtzXD7SVXWetpg+welXMZI/VcEUPQ2WUMXYSY="
136
+ if ! has nix_direnv_version || ! nix_direnv_version 2.0.0 ; then
137
+ source_url " https://raw.githubusercontent.com/nix-community/nix-direnv/2.0.0 /direnvrc" " sha256-aFwy76WtzXD7SVXWetpg+welXMZI/VcEUPQ2WUMXYSY="
138
138
fi
139
139
```
140
140
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ _nix_direnv_preflight () {
39
39
#
40
40
# Checks that the nix-direnv version is at least as old as <version_at_least>.
41
41
nix_direnv_version() {
42
- declare major='1 ' minor='6 ' patch='1 ' # UPDATE(nix-direnv version)
42
+ declare major='2 ' minor='0 ' patch='0 ' # UPDATE(nix-direnv version)
43
43
44
44
[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
45
45
declare -a ver; ver=("${BASH_REMATCH[@]:1}")
You can’t perform that action at this time.
0 commit comments