15 lines
281 B
Nix
15 lines
281 B
Nix
|
let
|
||
|
pkgs = import <nixpkgs> {};
|
||
|
in
|
||
|
with pkgs;
|
||
|
mkShell {
|
||
|
buildInputs = [
|
||
|
cargo
|
||
|
rustc
|
||
|
rustfmt
|
||
|
rls
|
||
|
protobuf
|
||
|
];
|
||
|
|
||
|
RUST_SRC_PATH= "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||
|
}
|