mirror of
https://github.com/nix-community/nix-direnv.git
synced 2024-09-17 14:28:04 +03:00
Update nix-direnv version in nix_direnv_version
This commit is contained in:
parent
169115475c
commit
c61fca1ed0
2
direnvrc
2
direnvrc
@ -58,7 +58,7 @@ touch $dir/.direnv/{nix,flake}-profile-*.rc
|
||||
#
|
||||
# Checks that the nix-direnv version is at least as old as <version_at_least>.
|
||||
nix_direnv_version() {
|
||||
declare major='2' minor='3' patch='0' # UPDATE(nix-direnv version)
|
||||
declare major='2' minor='4' patch='0' # UPDATE(nix-direnv version)
|
||||
|
||||
[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
|
||||
declare -a ver; ver=("${BASH_REMATCH[@]:1}")
|
||||
|
Loading…
Reference in New Issue
Block a user