mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
bump version 2.2.1
This commit is contained in:
parent
a8e7037a36
commit
deb67e437b
2 changed files with 3 additions and 3 deletions
|
|
@ -89,8 +89,8 @@ keep-outputs = true
|
|||
Put the following lines in your `.envrc`:
|
||||
|
||||
```bash
|
||||
if ! has nix_direnv_version || ! nix_direnv_version 2.2.0; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.0/direnvrc" "sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc="
|
||||
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc="
|
||||
fi
|
||||
```
|
||||
|
||||
|
|
|
|||
2
direnvrc
2
direnvrc
|
|
@ -43,7 +43,7 @@ _nix_direnv_preflight () {
|
|||
#
|
||||
# Checks that the nix-direnv version is at least as old as <version_at_least>.
|
||||
nix_direnv_version() {
|
||||
declare major='2' minor='2' patch='0' # UPDATE(nix-direnv version)
|
||||
declare major='2' minor='2' patch='1' # UPDATE(nix-direnv version)
|
||||
|
||||
[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
|
||||
declare -a ver; ver=("${BASH_REMATCH[@]:1}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue