ares/rust/shell.nix
2023-08-31 00:25:20 -05:00

19 lines
329 B
Nix

{ sources ? import ./nix/sources.nix,
pkgs ? import sources.nixpkgs {
overlays = [ (import "${sources.fenix}/overlay.nix") ];
}
}:
pkgs.mkShell {
packages = with pkgs; [
(fenix.stable.withComponents [
"cargo"
"clippy"
"rustc"
"rustfmt"
"rust-src"
])
cargo-watch
gdb
];
}