Describe the bug
It seems that the treefmt setup is applying different configurations depending on if you run nix fmt or nix flake check, as the latter will complain about changes done by the former.
I'm not really sure this is a problem caused by fpb(flake-parts-builder), I suppose it could be caused by some change upstream, just like now it needs the systems input but I decided to open an issue here first just in case it has something to do with the way fpb sets things up and/or defaults.
Steps To Reproduce
Steps to reproduce the behavior:
- run
nix run github:tsandrini/flake-parts-builder -- init -p +github,+nixos,treefmt,systems myNewProject
- run
cd myNewProject
- run
nix fmt
- run
nix flake check
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
It seems that the two commands are building different packages, I noticed
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here
Add a 👍 [reaction] to [issues you find important].
Describe the bug
It seems that the treefmt setup is applying different configurations depending on if you run
nix fmtornix flake check, as the latter will complain about changes done by the former.I'm not really sure this is a problem caused by fpb(flake-parts-builder), I suppose it could be caused by some change upstream, just like now it needs the systems input but I decided to open an issue here first just in case it has something to do with the way fpb sets things up and/or defaults.
Steps To Reproduce
Steps to reproduce the behavior:
nix run github:tsandrini/flake-parts-builder -- init -p +github,+nixos,treefmt,systems myNewProjectcd myNewProjectnix fmtnix flake checkExpected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
It seems that the two commands are building different packages, I noticed
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.Add a 👍 [reaction] to [issues you find important].