pict-rs/shell.nix
2023-03-09 20:19:40 -06:00

16 lines
257 B
Nix

{ pkgs
, mkShell
, cargo
, clippy
, gcc
, protobuf
, rust-analyzer
, rustc
, rustfmt
}:
mkShell {
nativeBuildInputs = [ cargo clippy gcc protobuf rust-analyzer rustc rustfmt ];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}