From f21e2920872fdf3c92dc815d51d6da032d157fea Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 7 Feb 2022 08:42:04 -0500 Subject: Use nix-direnv --- .envrc | 6 ++++++ .gitignore | 1 + 2 files changed, 7 insertions(+) diff --git a/.envrc b/.envrc index cbf6eda..011073f 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,9 @@ +if ! has nix_direnv_version || ! nix_direnv_version 1.5.1; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.5.1/direnvrc" "sha256-p4CDMJjuBmEh9pkn2aoJrZqr0DlPZHPU7eXOSDzzcuo=" +fi + +use nix + export BIZ_ROOT=$PWD PATH_add $BIZ_ROOT/Biz/Ide diff --git a/.gitignore b/.gitignore index 7c56224..e9beede 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ tags *~ dist* .envrc.local +.direnv/ -- cgit v1.2.3