bump version 2.0.1

This commit is contained in:
Bryan Bennett 2022-04-25 09:28:56 -04:00
parent 8a38b8fe97
commit 04d1361c19
No known key found for this signature in database
GPG key ID: EF90E3E98B8F5C0B
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 2.0.0; then if ! has nix_direnv_version || ! nix_direnv_version 2.0.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.0.0/direnvrc" "sha256-gMHKKyEOq/T0XmHKgz+pN+fUQC/1EKPAuOtYM95lLnU=" source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.0.1/direnvrc" "sha256-gMHKKyEOq/T0XmHKgz+pN+fUQC/1EKPAuOtYM95lLnU="
fi fi
``` ```

View file

@ -39,7 +39,7 @@ _nix_direnv_preflight () {
# #
# 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='2' minor='0' patch='0' # UPDATE(nix-direnv version) declare major='2' minor='0' patch='1' # UPDATE(nix-direnv version)
[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]] [[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
declare -a ver; ver=("${BASH_REMATCH[@]:1}") declare -a ver; ver=("${BASH_REMATCH[@]:1}")