feat(tvix): set up cargo rust project

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>
This commit is contained in:
Profpatsch 2021-12-28 14:29:30 +01:00
parent 9f0671edc9
commit 7c92b07efd
9 changed files with 56 additions and 0 deletions

10
tvix/.envrc Normal file
View file

@ -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