Platonic-Systems / treefmt-flake

A `flake-parts` module to work with treefmt. No longer maintained; you should instead use https://github.com/numtide/treefmt-nix#flake-parts
MIT License
4 stars 1 forks source link

Expose formatter packages #4

Open srid opened 2 years ago

srid commented 2 years ago

After #1, when specifying the formatter as nix package in command option of https://github.com/numtide/treefmt/pull/169 - also provide way to accumulate all formatters as a listOf package value, to be passed directly to buildInputs of a dev shell.

This is needed to make the formatters available to IDEs and editors that are not aware of treefmt.