pict-rs/shell.nix

17 lines
257 B
Nix
Raw Normal View History

2023-03-10 02:19:40 +00:00
{ 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}";
}