Formatting Team Meeting 2025-11-11

Team info
All meeting notes
Team attendees: @jfly, @infinisil, @MattSturgeon

Agenda & Notes

5 Likes

Proposal for the team to discuss/address the Implement treefmt's (nascent) Stdin Spec · Issue #305 · NixOS/nixfmt · GitHub, `nix fmt` broken · Issue #301 · NixOS/nixfmt · GitHub, Add a Stdin Specification by jfly · Pull Request #586 · numtide/treefmt · GitHub issues. Is there a recommended way forward or to unblock? Anything needed from Nix Team?

I was waiting for treefmt’s stdin spec to get implemented and approved (something I haven’t had any time to work on) before changing nixfmt to implement the spec.

We also could totally change nixfmt’s behavior before treefmt’s stdin spec is finalized, though. That would be a more minor change, at least for someone with some Haskell knowledge. I’ll poke at it and see if I can put something together!

2 Likes

I took a stab at this here: Implement treefmt's stdin spec by jfly · Pull Request #358 · NixOS/nixfmt · GitHub. I do not know Haskell, help appreciated =)

1 Like