Revert "treewide: drop usage of nixfmt-rfc-style alias"#433437
Revert "treewide: drop usage of nixfmt-rfc-style alias"#4334370x4A6F merged 2 commits intoNixOS:masterfrom
Conversation
This reverts commit c19b2c3. As per the discussion [here](NixOS#433100 (comment)), it's too early to drop usage of the alias in documentation. Removing the references is tracked by <NixOS#425583>, which a member of the Nix Formatting team will do when the time is right.
MattSturgeon
left a comment
There was a problem hiding this comment.
There are probably a few individual cases of documentation that could refer to "nixfmt" the project instead of nixfmt thhe package.
But those should be considered individually, and as a whole this should definitely be reverted for now.
|
I'm not sure whether this should be reverted in full. There are some cases of docs here (where the alias was not changed), but there are also cases of update scripts - and IIRC, these have been changed already. Edit: Congratz on that nice green checkmark, @MattSturgeon! Welcome! |
I skimmed the diff and didn't see any situations in docs where we're clearing disambiguating between the project and the executable name. So I left these entirely reverted. But please feel free to leave comments on individual lines where you think they should change.
I've added a commit that drops usage of nixfmt-rfc-style alias in update scripts. |
Thanks!
I'd argue using the alias is also relevant in (Ideally such update scripts would be using |
Ah.. that was the change we made about update scripts. So in fact, we should not keep |
|
Oh yes, I remember now. I'm still unsure if expecting users to already be in the nixpkgs shell before running update scripts is reasonable, but it is better than using the wrong formatter. I wonder if these update scripts added back |
I looked into that:
|
This reverts commit c19b2c3.
As per the discussion
here, it's too early to drop usage of the alias in documentation.
Removing the references is tracked by
#425583, which a member of the Nix Formatting team will do when the time is right.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.