38ff949bf4
Fix. Everything. Co-authored-by: Andrei Cravtov <the.andrei.cravtov@gmail.com> Co-authored-by: Matt Beton <matthew.beton@gmail.com> Co-authored-by: Alex Cheema <alexcheema123@gmail.com> Co-authored-by: Seth Howes <sethshowes@gmail.com>
26 lines
496 B
Nix
26 lines
496 B
Nix
# Configures Rust shell
|
|
|
|
{ inputs, ... }:
|
|
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
pkgs-init.overlays = [
|
|
inputs.fenix.overlays.default
|
|
];
|
|
|
|
make-shells.default = {
|
|
packages = [
|
|
(pkgs.fenix.complete.withComponents [
|
|
"cargo"
|
|
"rustc"
|
|
"clippy"
|
|
"rustfmt"
|
|
"rust-src"
|
|
])
|
|
pkgs.rustup # literally only added to make RustRover happy (otherwise useless)
|
|
];
|
|
};
|
|
};
|
|
}
|