11 lines
226 B
Nix
11 lines
226 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
|
rustup
|
|
git
|
|
];
|
|
shellHook = ''
|
|
rustup default stable
|
|
rustup component add rust-analyzer
|
|
'';
|
|
}
|