Skip to content

Conversation

@roderickvd
Copy link
Member

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

…elopers

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
@yara-blue
Copy link
Member

yara-blue commented Dec 24, 2025

The pinned version (1.91) is outdated and conflicts with CI which tests against stable/beta/nightly.

Should we not test CI against a single known version? Right now every PR tends to have to fix the latest new clippy issues. On the other hand it does spread the load of dealing with new clippy lints 😆

Let me know what you think (I've no serious objection against CI running against the world)

system: let
pkgs = inputs.nixpkgs.legacyPackages.${system}.extend inputs.rust-overlay.overlays.default;
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
rust = pkgs.rust-bin.stable.latest.default.override {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be a specific version and not just latest stable, otherwise the project is not reproducible.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me know if you dont use nix yourselves though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants