Skip to content

rustfmt versions differ between nix shell and flake check #544

@VAWVAW

Description

@VAWVAW

On main (after fixing the rust-toolchain.toml hash) running cargo fmt --check inside a nix develop shell prints warnings about rustfmt not being the nightly version but it succeeds.

But running nix flake check prints error about incorrect formatting.

How do we get the same rustfmt version in the flake check and the dev shell?

@benjajaja

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions