Update nix-direnv version in nix_direnv_version

This commit is contained in:
Nils 2023-10-23 11:46:14 -07:00 committed by GitHub
parent 169115475c
commit c61fca1ed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}")