nix: add rust & tools to shell.nix (#33727)

This commit is contained in:
Noah S-C 2022-04-11 17:20:00 +01:00 committed by GitHub
parent 77d90b5835
commit ed57a3dc5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,11 @@ pkgs.mkShell {
nodejs-16_x
(yarn.override { nodejs = nodejs-16_x; })
nodePackages.typescript
cargo
rustc
rustfmt
libiconv
];
# Startup postgres
@ -85,4 +90,6 @@ pkgs.mkShell {
# By explicitly setting this environment variable we avoid starting up
# universal-ctags via docker.
CTAGS_COMMAND = "${universal-ctags}/bin/universal-ctags";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}