bump version 1.6.0

This commit is contained in:
Jörg Thalheim 2022-02-07 21:20:54 +01:00
parent 69a0a648bc
commit 1257fd47e4
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -133,8 +133,8 @@ via home-manager section.
Put the following lines in your `.envrc`: Put the following lines in your `.envrc`:
```bash ```bash
if ! has nix_direnv_version || ! nix_direnv_version 1.5.1; then if ! has nix_direnv_version || ! nix_direnv_version 1.6.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.5.1/direnvrc" "sha256-p4CDMJjuBmEh9pkn2aoJrZqr0DlPZHPU7eXOSDzzcuo=" source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.6.0/direnvrc" "sha256-p4CDMJjuBmEh9pkn2aoJrZqr0DlPZHPU7eXOSDzzcuo="
fi fi
``` ```

View file

@ -12,7 +12,7 @@ fi
# #
# Checks that the nix-direnv version is at least as old as <version_at_least>. # Checks that the nix-direnv version is at least as old as <version_at_least>.
nix_direnv_version() { nix_direnv_version() {
declare major='1' minor='5' patch='1' # UPDATE(nix-direnv version) declare major='1' minor='6' patch='0' # UPDATE(nix-direnv version)
[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]] [[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
declare -a ver; ver=("${BASH_REMATCH[@]:1}") declare -a ver; ver=("${BASH_REMATCH[@]:1}")