diff options
author | sterni <sternenseemann@systemli.org> | 2022-09-17T11·45+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2022-09-17T17·31+0000 |
commit | 65dea58ef87dca688e8e1e57be8ebfe218919abf (patch) | |
tree | 8051117d1b21beec2761497d0ea704acb4baff5c /tvix/eval/.envrc | |
parent | 67e796b2e128f7fcbf7e41e6403b0fad455e6f9c (diff) |
chore(tvix/eval): add simple .envrc / shell.nix r/4887
Change-Id: I10a44b92391a8ac4d7ec5e4b878953c215f59908 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6620 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/.envrc')
-rw-r--r-- | tvix/eval/.envrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tvix/eval/.envrc b/tvix/eval/.envrc new file mode 100644 index 000000000000..777b522575a7 --- /dev/null +++ b/tvix/eval/.envrc @@ -0,0 +1,7 @@ +if command -v lorri >/dev/null; then + eval "$(lorri direnv)" +else + use nix +fi + +source_up |