bump version 1.4.0

This commit is contained in:
Jörg Thalheim 2021-06-03 18:44:32 +02:00
parent 3d58c3270b
commit f2fd3f433c
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4
2 changed files with 3 additions and 3 deletions

View file

@ -126,8 +126,8 @@ via home-manager section.
Put the following lines in your `.envrc`:
```bash
if ! has nix_direnv_version || ! nix_direnv_version 1.3.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.3.0/direnvrc" "sha256-cVSyO0/m0hbePv+plzua014InR0lNXa+0LTn0yEW0xc="
if ! has nix_direnv_version || ! nix_direnv_version 1.4.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.4.0/direnvrc" "sha256-cVSyO0/m0hbePv+plzua014InR0lNXa+0LTn0yEW0xc="
fi
```

View file

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