summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/.envrc b/.envrc
index 2df127c..7b20dce 100644
--- a/.envrc
+++ b/.envrc
@@ -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