mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
bump version 2.5.1
This commit is contained in:
parent
1e3bd2942e
commit
511f6554b3
3 changed files with 5 additions and 5 deletions
|
|
@ -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.5.0; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.5.0/direnvrc" "sha256-5XwUul/GUzj52MC5LvjHaZXDW2iLnl93tEQSYm9f3Rc="
|
||||
if ! has nix_direnv_version || ! nix_direnv_version 2.5.1; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.5.1/direnvrc" "sha256-5XwUul/GUzj52MC5LvjHaZXDW2iLnl93tEQSYm9f3Rc="
|
||||
fi
|
||||
```
|
||||
|
||||
|
|
|
|||
2
direnvrc
2
direnvrc
|
|
@ -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='5' patch='0' # UPDATE(nix-direnv version)
|
||||
declare major='2' minor='5' patch='1' # UPDATE(nix-direnv version)
|
||||
|
||||
[[ $1 =~ ^([^+-.]*)(\.?)([^+-.]*)(\.?)([^+-]*)(-?)([^+]*)(\+?)(.*)$ ]]
|
||||
declare -a ver; ver=("${BASH_REMATCH[@]:1}")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
if ! has nix_direnv_version || ! nix_direnv_version 2.5.0; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.5.0/direnvrc" "sha256-5XwUul/GUzj52MC5LvjHaZXDW2iLnl93tEQSYm9f3Rc="
|
||||
if ! has nix_direnv_version || ! nix_direnv_version 2.5.1; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.5.1/direnvrc" "sha256-5XwUul/GUzj52MC5LvjHaZXDW2iLnl93tEQSYm9f3Rc="
|
||||
fi
|
||||
use flake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue