ares/rust/shell.nix

18 lines
321 B
Nix
Raw Permalink 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
];
2022-07-16 05:02:51 +03:00
}