mrfetch/shell.nix

12 lines
226 B
Nix
Raw Permalink Normal View History

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