Skip to content

Commit

Permalink
shell.nix: Add rust tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
xzfc committed May 27, 2023
1 parent c50abb8 commit 59b11bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ in with pkgs;
mkShell {
buildInputs = main.buildInputs ++ main.nativeBuildInputs ++ [
cargo-edit
clippy
niv
nixfmt
rust-analyzer
rustc
rustfmt
shellcheck
# Required for cargo
Expand All @@ -14,4 +17,5 @@ mkShell {
];
inherit (main) BLAKE3_CSRC;
CNS_IN_NIX_SHELL = "1";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}

0 comments on commit 59b11bf

Please sign in to comment.