diff options
author | Florian Klink <flokli@flokli.de> | 2022-11-08T22·26+0000 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-11-11T19·55+0000 |
commit | 7eb70148219f902fa1df6b361b87c37efa17a332 (patch) | |
tree | 4c948c6d8bc6f3aececc7045e65bf9e7193f46a9 /tvix/shell.nix | |
parent | d00030128e465c8351412b1aefb4260681d8b497 (diff) |
feat(tvix/eval): move shell.nix and .envrc to //tvix r/5277
Both //tvix/eval and //tvix/nix_cli have need to for rust tooling available in $PATH. Move this one level up, so it's accessible in all subdirectories. Change-Id: I0763bbe9cefdc962f3a8f86c51e8f67cde8b4b04 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7248 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/shell.nix')
-rw-r--r-- | tvix/shell.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tvix/shell.nix b/tvix/shell.nix new file mode 100644 index 000000000000..2da5b5f24fbd --- /dev/null +++ b/tvix/shell.nix @@ -0,0 +1,15 @@ +{ depot ? import ../. { } +, pkgs ? depot.third_party.nixpkgs +, ... +}: + +pkgs.mkShell { + name = "tvix-eval-dev-env"; + packages = [ + pkgs.cargo + pkgs.clippy + pkgs.rust-analyzer + pkgs.rustc + pkgs.rustfmt + ]; +} |