We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix fmt
Describe the bug
Hi!
Format check fails. But running the formatter doesn't modify anything. It's all formatted but check fails.
To Reproduce
Steps to reproduce the behavior:
At this commit first run:
Observe 0 files changed output.
0 files changed
Then run:
nix build .\#checks.x86_64-linux.treefmt
The build fails.
Expected behavior
The build doesn't fail or the formatter formats.
System information
This flake. That is:
treefmt 0.6.0
nix 2.18.0
treefmt-nix
8cd95da6c30852adb2a06c4b6bdacfe8b64a0
treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; };
The text was updated successfully, but these errors were encountered:
I am also encountering this issue with treefmt v2.0.1, running via cachix/git-hooks.nix.
treefmt
Sorry, something went wrong.
numtide/treefmt#342
brianmcgee
No branches or pull requests
Describe the bug
Hi!
Format check fails. But running the formatter doesn't modify anything. It's all formatted but check fails.
To Reproduce
Steps to reproduce the behavior:
At this commit first run:
Observe
0 files changed
output.Then run:
The build fails.
Expected behavior
The build doesn't fail or the formatter formats.
System information
This flake. That is:
treefmt 0.6.0
nix 2.18.0
treefmt-nix
rev8cd95da6c30852adb2a06c4b6bdacfe8b64a0
, used with nixpkgs:The text was updated successfully, but these errors were encountered: