chore(tvix/eval): add simple .envrc / shell.nix
Change-Id: I10a44b92391a8ac4d7ec5e4b878953c215f59908 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6620 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
67e796b2e1
commit
65dea58ef8
2 changed files with 19 additions and 0 deletions
7
tvix/eval/.envrc
Normal file
7
tvix/eval/.envrc
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
if command -v lorri >/dev/null; then
|
||||||
|
eval "$(lorri direnv)"
|
||||||
|
else
|
||||||
|
use nix
|
||||||
|
fi
|
||||||
|
|
||||||
|
source_up
|
||||||
12
tvix/eval/shell.nix
Normal file
12
tvix/eval/shell.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ depot ? import ../../. { }
|
||||||
|
, pkgs ? depot.third_party.nixpkgs
|
||||||
|
}:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
name = "tvix-eval-dev-env";
|
||||||
|
packages = [
|
||||||
|
pkgs.cargo
|
||||||
|
pkgs.rustc
|
||||||
|
pkgs.clippy
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue