diff options
-rw-r--r-- | tvix/eval/.envrc | 7 | ||||
-rw-r--r-- | tvix/eval/shell.nix | 12 |
2 files changed, 19 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 diff --git a/tvix/eval/shell.nix b/tvix/eval/shell.nix new file mode 100644 index 000000000000..2c3da208f5fc --- /dev/null +++ b/tvix/eval/shell.nix @@ -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 + ]; +} |