Skip to content

Commit

Permalink
bump version 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 26, 2023
1 parent 3bc5ef4 commit c84183c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ manage your shell with `programs.<your_shell>.enable = true`.
Put the following lines in your `.envrc`:

```bash
if ! has nix_direnv_version || ! nix_direnv_version 2.4.0; then
source_url "https://github.com/raw/nix-community/nix-direnv/2.4.0/direnvrc" "sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U="
if ! has nix_direnv_version || ! nix_direnv_version 2.5.0; then
source_url "https://github.com/raw/nix-community/nix-direnv/2.5.0/direnvrc" "sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U="
fi
```

Expand Down
2 changes: 1 addition & 1 deletion direnvrc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
#
# Checks that the nix-direnv version is at least as old as <version_at_least>.
nix_direnv_version() {
declare major='2' minor='4' patch='0' # UPDATE(nix-direnv version)
declare major='2' minor='5' patch='0' # UPDATE(nix-direnv version)

[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
declare -a ver; ver=("${BASH_REMATCH[@]:1}")
Expand Down
4 changes: 2 additions & 2 deletions templates/flake/.envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.4.0; then
source_url "https://github.com/raw/nix-community/nix-direnv/2.4.0/direnvrc" "sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U="
if ! has nix_direnv_version || ! nix_direnv_version 2.5.0; then
source_url "https://github.com/raw/nix-community/nix-direnv/2.5.0/direnvrc" "sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U="
fi
use flake

0 comments on commit c84183c

Please sign in to comment.