diff options
Diffstat (limited to '.envrc')
| -rw-r--r-- | .envrc | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,10 +1,6 @@ # only use flake when `nix` is present -if command -v nix &> /dev/null; then - 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-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" - fi - - use flake +if has nix_direnv_version; then + use flake fi dotenv_if_exists |
