diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-03-07 14:19:40 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-03-07 14:19:40 +0000 |
commit | a4017a4c75d7b893247f05d4f8fa2736eb8eebe1 (patch) | |
tree | e1dd457282a0e37efdcd304bf4fddd6c0dbcc154 /.envrc | |
parent | 75df0ab8508723ed171727727aa8e61e0cc25f94 (diff) | |
download | verismith-a4017a4c75d7b893247f05d4f8fa2736eb8eebe1.tar.gz verismith-a4017a4c75d7b893247f05d4f8fa2736eb8eebe1.zip |
Fix travis build and .envrc
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |