From 85a2a2922673bfe44461e26b68cb1da0de5bb8c7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 20 Sep 2021 20:02:10 -0400 Subject: nix related config, direnv else minor --- .envrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.envrc') diff --git a/.envrc b/.envrc index 6bb4547..03af170 100644 --- a/.envrc +++ b/.envrc @@ -1,4 +1,8 @@ NIX_ENFORCE_PURITY=0 +if ! has nix_direnv_version || ! nix_direnv_version 1.4.0; then +# https://github.com/nix-community/nix-direnv + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.4.0/direnvrc" "sha256-4XfVDjv75eHMWN4G725VW7BoOV4Vl3vAabK4YXIfPyE=" +fi if [ -e .envrc-local ]; then # source an additional user-specific .envrc in ./.envrc-local source .envrc-local fi -- cgit v1.2.3