diff options
author | Ben Sima <ben@bsima.me> | 2020-04-19 14:36:59 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-19 14:36:59 -0700 |
commit | 43302fc3086cfced7bf4d93a493fc1edc04d9ca8 (patch) | |
tree | be22f034a8e5b3db2d99bd1c3a3ed0404b074436 /.envrc | |
parent | 7cb550d9e30f7fbb4a04c544df800327ea2e49ec (diff) |
Basic use of nix-shell with direnv/lorri
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -1,11 +1,8 @@ -# idk if these work -export GUILE_LOAD_PATH=$PWD -export NIX_PATH=$PWD:$NIX_PATH - -# tooling for bild/repl/push scripts -export PATH=$PWD:$PATH +PATH_add $PWD export BIZ_ROOT=$PWD - -# defaults for doing dev stuff -export HERO_PORT=3000 -export HERO_CLIENT=$PWD/_bild/Com.MusicMeetsComics.Client/static +if type lorri &>/dev/null +then + eval "$(lorri direnv)" +else + use nix +fi |