diff --git a/README.md b/README.md index 95a21e6..21222c2 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,8 @@ for integration with shells other than Bash. Be sure to also allow Put the following lines in your `.envrc`: ```bash -if ! has nix_direnv_version || ! nix_direnv_version 3.0.3; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.3/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" fi ``` diff --git a/default.nix b/default.nix index 9896f20..32b9000 100644 --- a/default.nix +++ b/default.nix @@ -4,7 +4,7 @@ # https://github.com/abathur/resholve/issues/107 resholve.mkDerivation rec { pname = "nix-direnv"; - version = "3.0.3"; + version = "3.0.4"; src = builtins.path { path = ./.; diff --git a/direnvrc b/direnvrc index b392be3..50a84cf 100644 --- a/direnvrc +++ b/direnvrc @@ -1,6 +1,6 @@ # shellcheck shell=bash -NIX_DIRENV_VERSION=3.0.3 +NIX_DIRENV_VERSION=3.0.4 # min required versions BASH_MIN_VERSION=4.4 diff --git a/templates/flake/.envrc b/templates/flake/.envrc index 1959138..d9b9f73 100644 --- a/templates/flake/.envrc +++ b/templates/flake/.envrc @@ -1,4 +1,4 @@ -if ! has nix_direnv_version || ! nix_direnv_version 3.0.3; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.3/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-0EVQVNSRQWsln+rgPW3mXVmnF5sfcmKEYOmOSfLYxHg=" fi use flake