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
I don't really mind either way, but filing this in case someone might find the following useful.
I think this diff could have been less noisy: NixOS/nixpkgs@eac5951
Consider this initial expression:
{ exampleString = '' hello beautiful ''; exampleArray = [ "hello" "beautiful" ]; }
Now, we want to add some optional things:
{ exampleString = '' hello beautiful '' + lib.optionalString true '' wonderful world ''; exampleArray = [ "hello" "beautiful" ] ++ lib.optionals true [ "wonderful" "world" ]; }
No change - I think the above is close to the existing style.
nixfmt-rfc-style reformats the entire thing, creating a big diff:
nixfmt-rfc-style
The text was updated successfully, but these errors were encountered:
Is this an issue with the RFC or with the implementation?
It seems this thread is discussing a similar issue too: https://discourse.nixos.org/t/satisfaction-survey-from-the-new-rfc-166-formatting/49758
Sorry, something went wrong.
No branches or pull requests
Description
I don't really mind either way, but filing this in case someone might find the following useful.
I think this diff could have been less noisy:
NixOS/nixpkgs@eac5951
Small example input
Consider this initial expression:
Now, we want to add some optional things:
Expected output
No change - I think the above is close to the existing style.
Actual output
nixfmt-rfc-style
reformats the entire thing, creating a big diff:The text was updated successfully, but these errors were encountered: