Skip to content
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

Reformat Nixpkgs #322520

Open
6 of 7 tasks
infinisil opened this issue May 28, 2024 · 4 comments
Open
6 of 7 tasks

Reformat Nixpkgs #322520

infinisil opened this issue May 28, 2024 · 4 comments

Comments

@infinisil
Copy link
Member

infinisil commented May 28, 2024

The recent python reformatting has shown that people are eager to have a uniform style already. Even though nixfmt isn't fully stable yet, we can already go ahead and use it to reformat all of Nixpkgs. With future nixfmt changes it can be reformatted again.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-05-28/46126/1

@infinisil
Copy link
Member Author

First step towards this, shell.nix integration: #322512

@infinisil infinisil transferred this issue from NixOS/nixfmt Jun 26, 2024
@infinisil
Copy link
Member Author

After the above PR, here's the next one with first formatting pass! #322537 🎉

@myclevorname
Copy link
Contributor

Should we include formatter = forAllSystems (system: self.legacyPackages.${system}.nixfmt-rfc-style); in flake.nix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

4 participants