aboutsummaryrefslogtreecommitdiffstats
path: root/.envrc
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-07 14:19:40 +0000
committerYann Herklotz <git@yannherklotz.com>2020-03-07 14:19:40 +0000
commita4017a4c75d7b893247f05d4f8fa2736eb8eebe1 (patch)
treee1dd457282a0e37efdcd304bf4fddd6c0dbcc154 /.envrc
parent75df0ab8508723ed171727727aa8e61e0cc25f94 (diff)
downloadverismith-a4017a4c75d7b893247f05d4f8fa2736eb8eebe1.tar.gz
verismith-a4017a4c75d7b893247f05d4f8fa2736eb8eebe1.zip
Fix travis build and .envrc
Diffstat (limited to '.envrc')
-rw-r--r--.envrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 4a4726a..f4c5cf4 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,8 @@
-use_nix
+command -v lorri >/dev/null 2>&1
+lorri_available=$?
+
+if [[ $lorri_available -eq 0 ]]; then
+ eval "$(lorri direnv)"
+else
+ use nix
+fi