ares/rust/shell.nix

19 lines
329 B
Nix
Raw Normal View History

{ sources ? import ./nix/sources.nix,
pkgs ? import sources.nixpkgs {
overlays = [ (import "${sources.fenix}/overlay.nix") ];
}
}:
2022-07-16 05:02:51 +03:00
pkgs.mkShell {
packages = with pkgs; [
(fenix.stable.withComponents [
"cargo"
2023-03-15 01:24:51 +03:00
"clippy"
"rustc"
"rustfmt"
"rust-src"
])
cargo-watch
2023-08-31 08:25:20 +03:00
gdb
];
2022-07-16 05:02:51 +03:00
}