Describe the bug
The file generated by nuget-to-nix is not formatted. This leads to an error when a generated file is included in a PR and checked by the nixfmt-check step in GitHub Actions.
Some of the ideas that people proposed:
- Modify nuget-to-nix to make the generated file formatted;
- Exempt generated files from nixfmt-check;
- Generate JSON (or alike) instead of Nix.
For details of the pros and cons of those approaches, read the discussions below here and in #325053.
For people who are packaging dotnet applications and meet with nixfmt-check failing: before a long-term solution is decided, temporarily we just merge PR with the check failing anyway (#360598 (comment)). There is no need to run nixfmt in the updater script.
Notify maintainers
@NixOS/dotnet
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Describe the bug
The file generated by nuget-to-nix is not formatted. This leads to an error when a generated file is included in a PR and checked by the nixfmt-check step in GitHub Actions.
Some of the ideas that people proposed:
For details of the pros and cons of those approaches, read the discussions below here and in #325053.
For people who are packaging dotnet applications and meet with nixfmt-check failing: before a long-term solution is decided, temporarily we just merge PR with the check failing anyway (#360598 (comment)). There is no need to run
nixfmtin the updater script.Notify maintainers
@NixOS/dotnet
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.