diff options
author | Profpatsch <mail@profpatsch.de> | 2021-12-28T13·29+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-01-06T15·38+0000 |
commit | 7c92b07efd6d3a183c2b6970102647fea08fc49a (patch) | |
tree | 0b15804d2022e57e9e179be7e6d98817f6520437 /tvix/.envrc | |
parent | 9f0671edc9e26b145d0f694e07c44718cbb5b389 (diff) |
feat(tvix): set up cargo rust project r/3521
First steps for baba Change-Id: Id6a68c5630cb85f280f4dcc7b2acf10c02454fd6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4732 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/.envrc')
-rw-r--r-- | tvix/.envrc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/.envrc b/tvix/.envrc new file mode 100644 index 000000000000..ea1ec94e436c --- /dev/null +++ b/tvix/.envrc @@ -0,0 +1,10 @@ +source_env ../.envrc + +if type lorri &>/dev/null; then + echo "direnv: using lorri from PATH ($(type -p lorri))" + eval "$(lorri direnv)" +else + # fall back to using direnv's builtin nix support + # to prevent bootstrapping problems. + use nix +fi |