From 62ad4bcd6780d62e89397969264f7e40fe7554c7 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 21 Sep 2023 18:29:34 +0200 Subject: [PATCH] make .envrc fast for everyone --- .envrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.envrc b/.envrc index 3550a30f..503fb6b6 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,5 @@ +if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" +fi + use flake