From 8f9de177e3cfed26cf9d67fd263d26ba85640eb2 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 30 Jul 2022 14:55:41 -0400 Subject: Initialize dev shell --- .envrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .envrc (limited to '.envrc') diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..8cce2ff --- /dev/null +++ b/.envrc @@ -0,0 +1,9 @@ +# setup dev environment using direnv +# + 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 +# +# if direnv doesn't detect changes to the nix environment, just touch .envrc and +# it will refresh + use nix -- cgit v1.2.3