Files
exo/nix/modules/rust.nix
T
Evan Quiney 38ff949bf4 big refactor
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>
2025-09-30 11:03:04 +01:00

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)
];
};
};
}