From c0c36e6ceda4c56ada3af6d4299c618a5e5f762e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 25 Mar 2023 12:50:15 +0200 Subject: [PATCH] .envrc: add fallback --- .envrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.envrc b/.envrc index 3550a30..4c92382 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,5 @@ +if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" +fi + use flake