New issue
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
nixpkgs-fmt should support excluding files #191
Comments
|
Hey @lovesegfault, try adding a |
|
That works! I'd still like for this to be doable from the cli, though. I'm not keen on these special files :/ |
|
yeah agreed, this issue is not solved |
|
Another standard technique is being able to put something like For nixpkgs specifically, the |
|
The README says you can use |
|
|
Is your feature request related to a problem? Please describe.
In our repo we have a few autogen'd Nix files, such as
Cargo.nixfromcrate2nixandsources.nixfromniv. These aren't properly formatted, but I don't want our CI to fail because of that.Describe the solution you'd like
I want to be able to ignore certain files in my
nixpkgs-fmtcall. For examplenixpkgs-fmt . --not "Cargo.nix"Describe alternatives you've considered
Here's my ugly alternative:
The text was updated successfully, but these errors were encountered: