Skip to content

Commit

Permalink
feat(nix): use nightly rust
Browse files Browse the repository at this point in the history
  • Loading branch information
eljamm committed Feb 15, 2025
1 parent 723f617 commit 014a7bf
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions nix/modules/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@

devShells.rust = pkgs.mkShell {
packages = [
(pkgs.rust-bin.stable.latest.default.override {
extensions = [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
"rust-analyzer"
];
})
(pkgs.rust-bin.selectLatestNightlyWith (
toolchain:
toolchain.minimal.override {
extensions = [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
"rust-analyzer"
];
}
))
];
};
};
Expand Down

0 comments on commit 014a7bf

Please sign in to comment.