mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Update nix-direnv version in nix_direnv_version
This commit is contained in:
parent
169115475c
commit
c61fca1ed0
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue