Skip to content

Commit aa0b922

Browse files
committed
fix: remove rust-toolchain.toml to avoid forcing toolchain on all developers
PR #814 added rust-toolchain.toml for Nix flake support, but this file affects all developers using rustup, not just Nix users. The pinned version (1.91) is outdated and conflicts with CI which tests against stable/beta/nightly. This change: - Removes rust-toolchain.toml - Updates flake.nix to specify stable Rust directly using rust-overlay - Keeps Nix-specific config in Nix files without affecting other devs
1 parent 2effbfc commit aa0b922

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
inputs: inputs.utils.lib.eachDefaultSystem (
99
system: let
1010
pkgs = inputs.nixpkgs.legacyPackages.${system}.extend inputs.rust-overlay.overlays.default;
11-
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
11+
rust = pkgs.rust-bin.stable.latest.default.override {
12+
extensions = [ "rust-src" "rust-analyzer" ];
13+
};
1214
in {
1315
devShell = pkgs.mkShell {
1416
nativeBuildInputs = with pkgs; [

rust-toolchain.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)