programming/rust: replace fenix with rust-overlay

This commit is contained in:
Infinidoge 2023-08-16 00:26:45 -04:00
parent e6e9ce112d
commit 7acb83e5e4
3 changed files with 66 additions and 52 deletions

View file

@ -1,13 +1,11 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
rust-analyzer-nightly
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {
extensions = [
"rust-src"
"rust-analyzer"
];
}))
gcc
];
}